diff options
| author | jvoisin | 2011-08-06 22:43:17 +0200 |
|---|---|---|
| committer | jvoisin | 2011-08-06 22:43:17 +0200 |
| commit | 008cb53a98681ed1be8a1d2f767ecf50fba585bb (patch) | |
| tree | 99da4c28ec2a0ddbec48014e003d95047d111945 /gui.py | |
| parent | c57b3b6dabff3eebc842f5c3fbd4b6459e6b6794 (diff) | |
Cleanup and more pylint conformity
Diffstat (limited to 'gui.py')
| -rw-r--r-- | gui.py | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -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() |
