aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-rule.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-04-12 03:11:50 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-04-12 03:11:50 +0800
commit724b51b4ffaf280517052d7a2cbf51c31889aa20 (patch)
tree289df4ded88d3d74a74db8289aa3e28c564d1b84 /filter/filter-rule.c
parentc6cb5d9631d4c05bffa4ab320bae53909a7a55c6 (diff)
downloadgsoc2013-evolution-724b51b4ffaf280517052d7a2cbf51c31889aa20.tar
gsoc2013-evolution-724b51b4ffaf280517052d7a2cbf51c31889aa20.tar.gz
gsoc2013-evolution-724b51b4ffaf280517052d7a2cbf51c31889aa20.tar.bz2
gsoc2013-evolution-724b51b4ffaf280517052d7a2cbf51c31889aa20.tar.lz
gsoc2013-evolution-724b51b4ffaf280517052d7a2cbf51c31889aa20.tar.xz
gsoc2013-evolution-724b51b4ffaf280517052d7a2cbf51c31889aa20.tar.zst
gsoc2013-evolution-724b51b4ffaf280517052d7a2cbf51c31889aa20.zip
Fixes for bugs: #41149, #41150, #41151, #41152, #41153, #41155 and #41156.
2003-04-11 Jeffrey Stedfast <fejj@ximian.com> Fixes for bugs: #41149, #41150, #41151, #41152, #41153, #41155 and #41156. * filter-filter.c (get_widget): Same as with filter-rule. * filter-rule.c (get_widget): Changed border widths of frame vboxes and other padding to comply with the HIG. * rule-editor.c (rule_add): Change window border and padding around the 'rules' widget to comply with the HIG. (rule_edit): Same. (rule_editor_construct): Same here as well. * filter.glade: Many HIG compliance fixes. svn path=/trunk/; revision=20823
Diffstat (limited to 'filter/filter-rule.c')
-rw-r--r--filter/filter-rule.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/filter/filter-rule.c b/filter/filter-rule.c
index 22ab424f3c..87e6433167 100644
--- a/filter/filter-rule.c
+++ b/filter/filter-rule.c
@@ -772,6 +772,7 @@ get_widget (FilterRule *fr, struct _RuleContext *f)
frame = gtk_frame_new (_("If"));
inframe = gtk_vbox_new (FALSE, 3);
gtk_container_add (GTK_CONTAINER (frame), inframe);
+ gtk_container_set_border_width (GTK_CONTAINER (inframe), 6);
/* this is the parts table, it should probably be inside a scrolling list */
rows = g_list_length (fr->parts);
@@ -793,12 +794,12 @@ get_widget (FilterRule *fr, struct _RuleContext *f)
item = gtk_menu_item_new_with_label (_("if all criteria are met"));
g_signal_connect (item, "activate", G_CALLBACK (match_all), fr);
- gtk_menu_shell_append(GTK_MENU_SHELL(menu), item);
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
gtk_widget_show (item);
item = gtk_menu_item_new_with_label (_("if any criteria are met"));
g_signal_connect (item, "activate", G_CALLBACK (match_any), fr);
- gtk_menu_shell_append(GTK_MENU_SHELL(menu), item);
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
gtk_widget_show (item);
omenu = gtk_option_menu_new ();
@@ -808,12 +809,12 @@ get_widget (FilterRule *fr, struct _RuleContext *f)
add = gtk_button_new_from_stock (GTK_STOCK_ADD);
g_signal_connect (add, "clicked", G_CALLBACK (more_parts), data);
- gtk_box_pack_start (GTK_BOX (hbox), add, FALSE, FALSE, 3);
+ gtk_box_pack_start (GTK_BOX (hbox), add, FALSE, FALSE, 0);
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, 0);
+ gtk_box_pack_start (GTK_BOX (inframe), hbox, FALSE, FALSE, 3);
l = fr->parts;
while (l) {
@@ -833,7 +834,7 @@ 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, 0);
+ gtk_box_pack_start (GTK_BOX (inframe), scrolledwindow, TRUE, TRUE, 3);
/*gtk_box_pack_start (GTK_BOX (inframe), parts, FALSE, FALSE, 3); */