aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filter/ChangeLog4
-rw-r--r--filter/filter-rule.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index 7983607f09..646468afcc 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,7 @@
+2004-11-29 Mengjie Yu <meng-jie.yu@sun.com>
+
+ * filter-rule.c: (get_widget):add mnemonic widget in search box.
+
2004-07-29 Carlos Garnacho Parro <carlosg@gnome.org>
* filter-file.c: added the "use_filechooser" property to the
diff --git a/filter/filter-rule.c b/filter/filter-rule.c
index bd48afeb2e..c3028c99eb 100644
--- a/filter/filter-rule.c
+++ b/filter/filter-rule.c
@@ -787,9 +787,10 @@ get_widget (FilterRule *fr, struct _RuleContext *f)
rule parts need to be a vbox */
vbox = gtk_vbox_new (FALSE, 6);
- label = gtk_label_new (_("Rule name:"));
+ label = gtk_label_new_with_mnemonic (_("_Rule name:"));
name = gtk_entry_new ();
-
+ gtk_label_set_mnemonic_widget (label, name);
+
if (!fr->name) {
fr->name = g_strdup (_("Untitled"));
gtk_entry_set_text (GTK_ENTRY (name), fr->name);