diff options
author | Charles Zhang <charles.zhang@sun.com> | 2003-11-17 21:31:52 +0800 |
---|---|---|
committer | Antonio Xu <anto@src.gnome.org> | 2003-11-17 21:31:52 +0800 |
commit | e86b07cdbb06b361bdb48a6dadb60218376337f3 (patch) | |
tree | 21387ed17035d86953e39e0748e849872fdef541 /widgets/misc | |
parent | 000e2ade56eb86a150a5a33e37bb685592e30186 (diff) | |
download | gsoc2013-evolution-e86b07cdbb06b361bdb48a6dadb60218376337f3.tar.gz gsoc2013-evolution-e86b07cdbb06b361bdb48a6dadb60218376337f3.tar.zst gsoc2013-evolution-e86b07cdbb06b361bdb48a6dadb60218376337f3.zip |
allow new lable with mnemonic (e_search_bar_construct): alter lable name.
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]
svn path=/trunk/; revision=23385
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/misc/e-search-bar.c | 6 |
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); |