From 5fae4aa235d62bda329d8e8ed116394c81934524 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Wed, 30 Jun 2010 16:16:45 +0300 Subject: [PATCH] timeline: add tooltip to histogram as well --- debug-viewer/GstDebugViewer/Plugins/Timeline.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debug-viewer/GstDebugViewer/Plugins/Timeline.py b/debug-viewer/GstDebugViewer/Plugins/Timeline.py index 8cc7448ba8..b05cddc5e2 100644 --- a/debug-viewer/GstDebugViewer/Plugins/Timeline.py +++ b/debug-viewer/GstDebugViewer/Plugins/Timeline.py @@ -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 ()