diff options
author | Andre Klapper <a9016009@gmx.de> | 2007-02-04 20:45:04 +0800 |
---|---|---|
committer | Andre Klapper <aklapper@src.gnome.org> | 2007-02-04 20:45:04 +0800 |
commit | c01699ab74bda12fc6a18325a0af6ac6561d899a (patch) | |
tree | c61d6baefcc01322afd90d3df0f31929584e8f7d | |
parent | 20f794944b3e63bd7a7b7308e3a1280dbafc64b6 (diff) | |
download | gsoc2013-evolution-c01699ab74bda12fc6a18325a0af6ac6561d899a.tar.gz gsoc2013-evolution-c01699ab74bda12fc6a18325a0af6ac6561d899a.tar.zst gsoc2013-evolution-c01699ab74bda12fc6a18325a0af6ac6561d899a.zip |
Add mnemonic to "Find items". Fixes bug #404242.
2007-02-04 Andre Klapper <a9016009@gmx.de>
* filter-rule.c: (get_widget): Add mnemonic to "Find items".
Fixes bug #404242.
svn path=/trunk/; revision=33174
-rw-r--r-- | filter/ChangeLog | 5 | ||||
-rw-r--r-- | filter/filter-rule.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index f2277b2aa4..f3e65de6ed 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,8 @@ +2007-02-04 Andre Klapper <a9016009@gmx.de> + + * filter-rule.c: (get_widget): Add mnemonic to "Find items". + Fixes bug #404242. + 2006-10-01 Kjartan Maraas <kmaraas@gnome.org> * filter-file.c: (get_widget): Move a var into #ifndef #USE_FILECOOSER diff --git a/filter/filter-rule.c b/filter/filter-rule.c index 579914fa04..2bc94a3999 100644 --- a/filter/filter-rule.c +++ b/filter/filter-rule.c @@ -865,7 +865,7 @@ get_widget (FilterRule *fr, struct _RuleContext *f) if (f->flags & RULE_CONTEXT_GROUPING) { const char *thread_types[] = { N_("If all criteria are met"), N_("If any criteria are met") }; - label = gtk_label_new (_("Find items:")); + label = gtk_label_new_with_mnemonic (_("_Find items:")); menu = gtk_menu_new (); for (i=0;i<2;i++) { @@ -875,6 +875,7 @@ get_widget (FilterRule *fr, struct _RuleContext *f) } omenu = gtk_option_menu_new (); + gtk_label_set_mnemonic_widget ((GtkLabel *)label, omenu); gtk_option_menu_set_menu (GTK_OPTION_MENU (omenu), menu); gtk_option_menu_set_history (GTK_OPTION_MENU (omenu), fr->grouping); gtk_widget_show (omenu); |