diff options
-rw-r--r-- | filter/ChangeLog | 6 | ||||
-rw-r--r-- | filter/filter-rule.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index 70bc1a371c..c10dcfc3ad 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,9 @@ +2007-04-20 Srinivasa Ragavan <sragavan@novell.com> + + ** Fix for bug #430559 from Vinod. + + * filter-rule.c: (get_widget): Added mnemonics. + 2007-04-01 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #373116 diff --git a/filter/filter-rule.c b/filter/filter-rule.c index a8dc020ab9..c5c8dbce03 100644 --- a/filter/filter-rule.c +++ b/filter/filter-rule.c @@ -889,7 +889,7 @@ get_widget (FilterRule *fr, struct _RuleContext *f) if (f->flags & RULE_CONTEXT_THREADING) { const char *thread_types[] = { N_("None"), N_("All related"), N_("Replies"), N_("Replies and parents"), N_("No reply or parent") }; - label = gtk_label_new (_("Include threads")); + label = gtk_label_new_with_mnemonic (_("I_nclude threads")); menu = gtk_menu_new (); for (i=0;i<5;i++) { @@ -899,6 +899,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->threading); gtk_widget_show (omenu); |