Add tooltip to vertical timeline widget

This commit is contained in:
René Stadler 2007-12-07 12:02:15 +02:00 committed by Stefan Sauer
parent 47badacfde
commit abc54e5360

View file

@ -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)