[evolution] Bug 593789 - Most of the toolbar buttons in the Evolution composer window have no tooltips.
- From: Bharath Acharya <abharath src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 593789 - Most of the toolbar buttons in the Evolution composer window have no tooltips.
- Date: Mon, 22 Feb 2010 09:50:51 +0000 (UTC)
commit 6c56bea75fb7915b9634af52e82a79be98658265
Author: Marcel Stimberg <stimberg users sourceforge net>
Date: Mon Feb 22 15:20:46 2010 +0530
Bug 593789 - Most of the toolbar buttons in the Evolution composer window have no tooltips.
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 2cab3ba..a9c493e 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]