aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-search-bar.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 4a05c1b49e..155a5890b3 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-17 Charles Zhang <charles.zhang@sun.com>
+
+ * e-search-bar.c(add_button): allow new lable with mnemonic
+ (e_search_bar_construct): alter lable name. [50810]
+
2003-11-16 JP Rosevear <jpr@ximian.com>
* e-source-selector.c (e_source_selector_set_primary_selection):
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index 9b4dcac47b..d99a4de742 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -685,7 +685,7 @@ add_button (ESearchBar *esb,
GtkWidget *holder;
GtkWidget *button;
- label = gtk_label_new (text);
+ label = gtk_label_new_with_mnemonic (text);
gtk_misc_set_padding (GTK_MISC (label), 2, 0);
gtk_widget_show (label);
@@ -925,9 +925,9 @@ e_search_bar_construct (ESearchBar *search_bar,
gtk_box_set_spacing (GTK_BOX (search_bar), 1);
- search_bar->clear_button = add_button (search_bar, _("Clear"),
+ search_bar->clear_button = add_button (search_bar, _("_Clear"),
G_CALLBACK (clear_button_clicked_cb));
- search_bar->activate_button = add_button (search_bar, _("Find Now"),
+ search_bar->activate_button = add_button (search_bar, _("Find _Now"),
G_CALLBACK (activate_button_clicked_cb));
e_search_bar_set_menu (search_bar, menu_items);