diff options
author | Marcel Stimberg <stimberg@users.sourceforge.net> | 2010-02-22 17:50:46 +0800 |
---|---|---|
committer | Bharath Acharya <abharath@novell.com> | 2010-02-22 17:50:46 +0800 |
commit | 6c56bea75fb7915b9634af52e82a79be98658265 (patch) | |
tree | dab3adc6346b0f4f858e2e12d048e00dc8b59163 /composer | |
parent | edc04458a310a2a9d43794a336d73abff5600582 (diff) | |
download | gsoc2013-evolution-6c56bea75fb7915b9634af52e82a79be98658265.tar gsoc2013-evolution-6c56bea75fb7915b9634af52e82a79be98658265.tar.gz gsoc2013-evolution-6c56bea75fb7915b9634af52e82a79be98658265.tar.bz2 gsoc2013-evolution-6c56bea75fb7915b9634af52e82a79be98658265.tar.lz gsoc2013-evolution-6c56bea75fb7915b9634af52e82a79be98658265.tar.xz gsoc2013-evolution-6c56bea75fb7915b9634af52e82a79be98658265.tar.zst gsoc2013-evolution-6c56bea75fb7915b9634af52e82a79be98658265.zip |
Bug 593789 - Most of the toolbar buttons in the Evolution composer window have no tooltips.
Diffstat (limited to 'composer')
-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); |