diff options
-rw-r--r-- | composer/e-composer-private.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c index 2cab3bab0c..a9c493e53c 100644 --- a/composer/e-composer-private.c +++ b/composer/e-composer-private.c @@ -192,6 +192,23 @@ e_composer_private_constructed (EMsgComposer *composer) path = "/main-toolbar/pre-main-toolbar/send"; send_widget = gtk_ui_manager_get_widget (ui_manager, path); gtk_tool_item_set_is_important (GTK_TOOL_ITEM (send_widget), TRUE); + + /* Tooltips for all buttons in toolbar that don't yet have one */ + path = "/main-toolbar/undo"; + widget = gtk_ui_manager_get_widget (ui_manager, path); + gtk_widget_set_tooltip_text (widget, _("Undo the last action")); + + path = "/main-toolbar/redo"; + widget = gtk_ui_manager_get_widget (ui_manager, path); + gtk_widget_set_tooltip_text (widget, _("Redo the last undone action")); + + path = "/main-toolbar/show-find"; + widget = gtk_ui_manager_get_widget (ui_manager, path); + gtk_widget_set_tooltip_text (widget, _("Search for text")); + + path = "/main-toolbar/show-replace"; + widget = gtk_ui_manager_get_widget (ui_manager, path); + gtk_widget_set_tooltip_text (widget, _("Search for and replace text")); composer_setup_charset_menu (composer); |