diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-07-10 02:15:49 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-07-10 02:15:49 +0800 |
commit | d6286b4cba3ca6d8596549d4d90a8815e41746f0 (patch) | |
tree | 4b06885de7304eaa5b78cdd6d25c1bb6d5b5940d | |
parent | a5d93d4f63c1776ae88875805b27e43e02fd0b4b (diff) | |
download | gsoc2013-evolution-d6286b4cba3ca6d8596549d4d90a8815e41746f0.tar gsoc2013-evolution-d6286b4cba3ca6d8596549d4d90a8815e41746f0.tar.gz gsoc2013-evolution-d6286b4cba3ca6d8596549d4d90a8815e41746f0.tar.bz2 gsoc2013-evolution-d6286b4cba3ca6d8596549d4d90a8815e41746f0.tar.lz gsoc2013-evolution-d6286b4cba3ca6d8596549d4d90a8815e41746f0.tar.xz gsoc2013-evolution-d6286b4cba3ca6d8596549d4d90a8815e41746f0.tar.zst gsoc2013-evolution-d6286b4cba3ca6d8596549d4d90a8815e41746f0.zip |
Set the focus on the title of the filter rule.
2001-07-05 Jeffrey Stedfast <fejj@ximian.com>
* filter-rule.c (get_widget): Set the focus on the title of the
filter rule.
svn path=/trunk/; revision=10921
-rw-r--r-- | filter/ChangeLog | 12 | ||||
-rw-r--r-- | filter/filter-rule.c | 7 |
2 files changed, 13 insertions, 6 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index 69a7582363..2732f6de4e 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,7 +1,13 @@ -2001-07-09 Anna Marie Dirks - *rule-context.c (rule_context_add_rule_gui): Increased the size +2001-07-05 Jeffrey Stedfast <fejj@ximian.com> + + * filter-rule.c (get_widget): Set the focus on the title of the + filter rule. + +2001-07-09 Anna Marie Dirks <anna@ximian.com> + + * rule-context.c (rule_context_add_rule_gui): Increased the size of the "Add Filter Rule" dialog to 600 x 400, so that no resizing - is necessary to use the dialog. + is necessary to use the dialog. 2001-07-09 Jon Trowbridge <trow@ximian.com> diff --git a/filter/filter-rule.c b/filter/filter-rule.c index 68c15acd83..d63dd5df7e 100644 --- a/filter/filter-rule.c +++ b/filter/filter-rule.c @@ -631,13 +631,14 @@ get_widget (FilterRule *fr, struct _RuleContext *f) gtk_entry_set_text (GTK_ENTRY (name), fr->name); /* FIXME: do we want the following code in the future? */ /*gtk_editable_select_region (GTK_EDITABLE (name), 0, -1);*/ - gtk_widget_grab_focus (GTK_WIDGET (name)); - /* Why does GTK say we can't grab the default?? */ - /*gtk_widget_grab_default (GTK_WIDGET (name));*/ } else { e_utf8_gtk_entry_set_text (GTK_ENTRY (name), fr->name); } + gtk_widget_grab_focus (GTK_WIDGET (name)); + /* Why does GTK say we can't grab the default?? */ + /*gtk_widget_grab_default (GTK_WIDGET (name));*/ + hbox = gtk_hbox_new (FALSE, 3); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox), name, TRUE, TRUE, 0); |