summaryrefslogtreecommitdiff
path: root/gui.py
diff options
context:
space:
mode:
authorjvoisin2011-08-06 22:43:17 +0200
committerjvoisin2011-08-06 22:43:17 +0200
commit008cb53a98681ed1be8a1d2f767ecf50fba585bb (patch)
tree99da4c28ec2a0ddbec48014e003d95047d111945 /gui.py
parentc57b3b6dabff3eebc842f5c3fbd4b6459e6b6794 (diff)
Cleanup and more pylint conformity
Diffstat (limited to 'gui.py')
-rw-r--r--gui.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui.py b/gui.py
index c95697b..571db55 100644
--- a/gui.py
+++ b/gui.py
@@ -464,9 +464,9 @@ class TreeViewTooltips(object):
464 ''' 464 '''
465 as the pointer moves across the view, show a tooltip 465 as the pointer moves across the view, show a tooltip
466 ''' 466 '''
467 path = view.get_path_at_pos(int(event.x), int(event.y)) 467 path_at_pos = view.get_path_at_pos(int(event.x), int(event.y))
468 if path: 468 if path_at_pos:
469 path, col, x, y = path 469 path, col, x, y = path_at_pos
470 tooltip = self.get_tooltip(view, col, path) 470 tooltip = self.get_tooltip(view, col, path)
471 if tooltip: 471 if tooltip:
472 tooltip = str(tooltip).strip() 472 tooltip = str(tooltip).strip()