diff options
Diffstat (limited to '')
| -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() |
