diff options
author | Mengjie Yu <meng-jie.yu@sun.com> | 2004-12-01 13:59:07 +0800 |
---|---|---|
committer | Harry Lu <haip@src.gnome.org> | 2004-12-01 13:59:07 +0800 |
commit | 8f27b982a364c72b819e8bd0ed6ac3a7a37c1313 (patch) | |
tree | adab67c4a46bb549a2fcc74d22648dae03bef5ff | |
parent | 6fb1b6f64ca1d572befd58f73fca0e9e7825ba8e (diff) | |
download | gsoc2013-evolution-8f27b982a364c72b819e8bd0ed6ac3a7a37c1313.tar.gz gsoc2013-evolution-8f27b982a364c72b819e8bd0ed6ac3a7a37c1313.tar.zst gsoc2013-evolution-8f27b982a364c72b819e8bd0ed6ac3a7a37c1313.zip |
add mnemonic widget in search box.
2004-11-29 Mengjie Yu <meng-jie.yu@sun.com>
* filter-rule.c: (get_widget):add mnemonic widget in search box.
svn path=/trunk/; revision=28031
-rw-r--r-- | filter/ChangeLog | 4 | ||||
-rw-r--r-- | filter/filter-rule.c | 5 |
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); |