[pitivi] clipproperties: Fix effects tooltips



commit e4702c549c87eb26f7f13dadab143db25d412a47
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Sun May 4 00:53:30 2014 +0200

    clipproperties: Fix effects tooltips

 pitivi/clipproperties.py |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/pitivi/clipproperties.py b/pitivi/clipproperties.py
index 7d875ad..ca0a96b 100644
--- a/pitivi/clipproperties.py
+++ b/pitivi/clipproperties.py
@@ -375,14 +375,12 @@ class EffectProperties(Gtk.Expander, Loggable):
         self.updateAll()
 
     def _treeViewQueryTooltipCb(self, view, x, y, keyboard_mode, tooltip):
-        is_row, x, y, model, path, iter_ = view.get_tooltip_context(x, y, keyboard_mode)
-
+        is_row, x, y, model, path, tree_iter = view.get_tooltip_context(x, y, keyboard_mode)
         if not is_row:
             return False
 
-        # FIXME GObject Introspection, make sure forth is the path
-        # view.set_tooltip_row(tooltip, path)
-
+        view.set_tooltip_row(tooltip, path)
+        tooltip.set_text(self.storemodel.get_value(tree_iter, COL_DESC_TEXT))
         return True
 
     def updateAll(self):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]