mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 18:35:35 +00:00
Add tooltip to vertical timeline widget
This commit is contained in:
parent
47badacfde
commit
abc54e5360
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue