From 5a7fb3662757a78f9e6b0ab2e4ce99f3ec6b912f Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Thu, 20 Jul 2006 13:35:38 +0000 Subject: Modified the mnemonics for avoiding the conflict with attachment bar. svn path=/trunk/; revision=32361 --- widgets/misc/ChangeLog | 5 +++++ widgets/misc/e-search-bar.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'widgets') diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index a8dcc07b27..03e34cc6c0 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,8 @@ +2006-07-20 Srinivasa Ragavan + + * e-search-bar.c: (e_search_bar_construct): Modified + the mnemonics for avoiding the conflict with attachment bar. + 2006-07-18 Andre Klapper * e-attachment.glade: diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c index 5b1af11ad8..9e0f6ebfa0 100644 --- a/widgets/misc/e-search-bar.c +++ b/widgets/misc/e-search-bar.c @@ -924,18 +924,19 @@ e_search_bar_construct (ESearchBar *search_bar, hbox = gtk_hbox_new (FALSE, 0); /* To Translators: The "Show: " label is followed by the Quick Search Text input field where one enters the term to search for */ - label = gtk_label_new_with_mnemonic (_("S_earch: ")); + label = gtk_label_new_with_mnemonic (_("Sear_ch: ")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX(hbox), label, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX(hbox), search_bar->entry_box, FALSE, FALSE, 0); gtk_widget_show (search_bar->entry_box); + gtk_label_set_mnemonic_widget (label, search_bar->entry); /* Search Scope Widgets */ search_bar->scopeoption_box = gtk_hbox_new (0, FALSE); gtk_box_set_spacing (GTK_BOX (search_bar->scopeoption_box), 3); /* To Translators: The " in " label is part of the Quick Search Bar, example: Search: | | in | Current Folder/All Accounts/Current Account */ - label = gtk_label_new_with_mnemonic (_(" in ")); + label = gtk_label_new_with_mnemonic (_(" i_n ")); gtk_widget_show (label); gtk_box_pack_start (GTK_BOX(search_bar->scopeoption_box), label, FALSE, FALSE, 0); @@ -944,6 +945,7 @@ e_search_bar_construct (ESearchBar *search_bar, gtk_box_pack_start (GTK_BOX(search_bar->scopeoption_box), search_bar->scopeoption, FALSE, FALSE, 0); gtk_widget_show_all (search_bar->scopeoption_box); gtk_widget_hide (hbox); + gtk_label_set_mnemonic_widget (label, search_bar->scopeoption); gtk_box_pack_end (GTK_BOX(hbox), search_bar->scopeoption_box, FALSE, FALSE, 0); gtk_widget_hide (search_bar->scopeoption_box); -- cgit v1.2.3