2006-05-09 Don Allingham <don@gramps-project.org>

* src/DataViews/_MapView.py: add tool tips to tool buttons
	* src/ViewManager.py: add tool tips to Open button



svn: r6593
This commit is contained in:
Don Allingham
2006-05-09 18:34:58 +00:00
parent 13ea348bdf
commit 24afde6b81
3 changed files with 25 additions and 5 deletions

View File

@@ -572,13 +572,18 @@ class MapView(PageView.PageView):
def define_actions(self):
self.add_action('ZoomIn',gtk.STOCK_ZOOM_IN,
_("Zoom _In"),callback=self.zoom_in_cb)
_("Zoom _In"),tip=_("Zoom in by a factor of 2"),
callback=self.zoom_in_cb)
self.add_action('ZoomOut',gtk.STOCK_ZOOM_OUT,
_("Zoom _Out"),callback=self.zoom_out_cb)
_("Zoom _Out"),tip=_("Zoom out by a factor of 2"),
callback=self.zoom_out_cb)
self.add_action('ZoomNormal',gtk.STOCK_ZOOM_100,
_("_Normal Size"), callback=self.zoom_100_cb)
_("_Normal Size"), tip=_("Return to normal size"),
callback=self.zoom_100_cb)
self.add_action('ZoomFit',gtk.STOCK_ZOOM_FIT,
_("Best _Fit"),callback=self.zoom_fit_cb)
_("Best _Fit"),
tip=_("Produce the best fit of the map in the window"),
callback=self.zoom_fit_cb)
def get_stock(self):
"""