Browse code

Add tooltips to various toolbar buttons.

Moritz Meier authored on 19/07/2022 12:22:48 • José Fonseca committed on 19/07/2022 12:48:10
Showing 1 changed files

... ...
@@ -599,10 +599,10 @@ class DotWindow(Gtk.Window):
599 599
             ('Reload', Gtk.STOCK_REFRESH, None, None, "Reload graph", self.on_reload),
600 600
             ('Print', Gtk.STOCK_PRINT, None, None,
601 601
              "Prints the currently visible part of the graph", self.dotwidget.on_print),
602
-            ('ZoomIn', Gtk.STOCK_ZOOM_IN, None, None, None, self.dotwidget.on_zoom_in),
603
-            ('ZoomOut', Gtk.STOCK_ZOOM_OUT, None, None, None, self.dotwidget.on_zoom_out),
604
-            ('ZoomFit', Gtk.STOCK_ZOOM_FIT, None, None, None, self.dotwidget.on_zoom_fit),
605
-            ('Zoom100', Gtk.STOCK_ZOOM_100, None, None, None, self.dotwidget.on_zoom_100),
602
+            ('ZoomIn', Gtk.STOCK_ZOOM_IN, None, None, "Zoom in", self.dotwidget.on_zoom_in),
603
+            ('ZoomOut', Gtk.STOCK_ZOOM_OUT, None, None, "Zoom out", self.dotwidget.on_zoom_out),
604
+            ('ZoomFit', Gtk.STOCK_ZOOM_FIT, None, None, "Fit zoom", self.dotwidget.on_zoom_fit),
605
+            ('Zoom100', Gtk.STOCK_ZOOM_100, None, None, "Reset zoom level", self.dotwidget.on_zoom_100),
606 606
             ('FindNext', Gtk.STOCK_GO_FORWARD, 'Next Result', None, 'Move to the next search result', self.on_find_next),
607 607
         ))
608 608