aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filter/ChangeLog5
-rw-r--r--filter/filter-rule.c3
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);