aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filter/ChangeLog7
-rw-r--r--filter/filter-rule.c8
2 files changed, 11 insertions, 4 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index bfa9886c53..11ea73f699 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,10 @@
+2000-10-31 Federico Mena Quintero <federico@helixcode.com>
+
+ * filter-rule.c (get_widget): Do not pad around the Name hbox;
+ its parent already has spacing.
+ Do not pad around the inframe's children; the inframe already has
+ spacing.
+
2000-10-30 Jeffrey Stedfast <fejj@helixcode.com>
* filter-option.c (option_activate): If a regex option is
diff --git a/filter/filter-rule.c b/filter/filter-rule.c
index a33373af5e..11053a38da 100644
--- a/filter/filter-rule.c
+++ b/filter/filter-rule.c
@@ -532,7 +532,7 @@ get_widget (FilterRule *fr, struct _RuleContext *f)
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);
- gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 3);
+ gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (name), "changed", name_changed, fr);
frame = gtk_frame_new (_("If"));
@@ -591,7 +591,7 @@ get_widget (FilterRule *fr, struct _RuleContext *f)
gtk_box_pack_end (GTK_BOX (hbox), omenu, FALSE, FALSE, 0);
gtk_box_pack_end (GTK_BOX (hbox), label, FALSE, FALSE, 0);
- gtk_box_pack_start (GTK_BOX (inframe), hbox, FALSE, FALSE, 3);
+ gtk_box_pack_start (GTK_BOX (inframe), hbox, FALSE, FALSE, 0);
l = fr->parts;
while (l) {
@@ -610,11 +610,11 @@ get_widget (FilterRule *fr, struct _RuleContext *f)
gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (scrolledwindow), parts);
- gtk_box_pack_start (GTK_BOX (inframe), scrolledwindow, TRUE, TRUE, 3);
+ gtk_box_pack_start (GTK_BOX (inframe), scrolledwindow, TRUE, TRUE, 0);
/*gtk_box_pack_start (GTK_BOX (inframe), parts, FALSE, FALSE, 3); */
- gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE, 3);
+ gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE, 0);
gtk_widget_show_all (vbox);