summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete <sneakypete81@gmail.com>2013-06-01 21:24:34 +0100
committerPete <sneakypete81@gmail.com>2013-06-01 21:24:34 +0100
commitc018c2af1c0ae6f6436ee4105331624eed12d44c (patch)
tree6ed00ea24776014fc5bca7a818c8b2d2954ab9c3
parent5368173b3b626af511194378730366b2237782b8 (diff)
downloadpylint-source_view.tar.gz
Rename show_message to the more appropriate show_sourcefilesource_view
-rw-r--r--gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui.py b/gui.py
index 31cc3b2..e4fb9a8 100644
--- a/gui.py
+++ b/gui.py
@@ -175,7 +175,7 @@ class LintGui(object):
yscrollcommand=rightscrollbar.set,
xscrollcommand=bottomscrollbar.set,
bg="white")
- self.lbMessages.bind("<Double-Button-1>", self.show_message)
+ self.lbMessages.bind("<Double-Button-1>", self.show_sourcefile)
self.lbMessages.pack(expand=True, fill=BOTH)
rightscrollbar.config(command=self.lbMessages.yview)
bottomscrollbar.config(command=self.lbMessages.xview)
@@ -472,7 +472,7 @@ class LintGui(object):
self.root.configure(cursor='')
- def show_message(self, event=None):
+ def show_sourcefile(self, event=None):
selected = self.lbMessages.curselection()
if not selected:
return