timeline: add tooltip to histogram as well
authorStefan Kost <ensonic@users.sf.net>
Wed, 30 Jun 2010 13:16:45 +0000 (16:16 +0300)
committerStefan Sauer <ensonic@users.sf.net>
Thu, 11 Sep 2014 18:51:46 +0000 (20:51 +0200)
debug-viewer/GstDebugViewer/Plugins/Timeline.py

index 8cc7448..b05cddc 100644 (file)
@@ -430,6 +430,13 @@ class TimelineWidget (gtk.DrawingArea):
 
         self.__position_ts_range = None
 
+        try:
+            self.set_tooltip_text (_("Log event histogram\n"
+                                     "Different colors represent different log-levels"))
+        except AttributeError:
+            # Compatibility.
+            pass
+
     def __handle_sentinel_progress (self, sentinel):
 
         self.__redraw ()