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