From c079bfa687b82f795458e05f59bed9129ffa0578 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 31 Oct 2000 17:28:40 +0000 Subject: Do not pad around the Name hbox; its parent already has spacing. Do not 2000-10-31 Federico Mena Quintero * 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. svn path=/trunk/; revision=6294 --- filter/ChangeLog | 7 +++++++ filter/filter-rule.c | 8 ++++---- 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 + + * 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 * 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); -- cgit v1.2.3