summaryrefslogtreecommitdiff
path: root/GstDebugViewer/Plugins
diff options
context:
space:
mode:
authorRené Stadler <mail@renestadler.de>2007-12-07 12:02:15 +0200
committerRené Stadler <mail@renestadler.de>2007-12-07 12:02:15 +0200
commitd8690b22ad31e82a67344ef5af2a55a6abe9916e (patch)
tree0e031410965f42cb0dc3b1732625ac6ec098c363 /GstDebugViewer/Plugins
parentcdcf830145cf2b0b46a6051c0d6081fee31eaca2 (diff)
Add tooltip to vertical timeline widget
Diffstat (limited to 'GstDebugViewer/Plugins')
-rw-r--r--GstDebugViewer/Plugins/Timeline.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/GstDebugViewer/Plugins/Timeline.py b/GstDebugViewer/Plugins/Timeline.py
index a83e2e3..5676ca7 100644
--- a/GstDebugViewer/Plugins/Timeline.py
+++ b/GstDebugViewer/Plugins/Timeline.py
@@ -269,6 +269,13 @@ class VerticalTimelineWidget (gtk.DrawingArea):
self.connect ("expose-event", self.__handle_expose_event)
self.connect ("size-request", self.__handle_size_request)
+ try:
+ self.set_tooltip_text (_("Vertical timeline\n"
+ "Different colors represent different threads"))
+ except AttributeError:
+ # Compatibility.
+ pass
+
def __handle_expose_event (self, self_, event):
self.__draw (self.window)