aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-04-16 01:29:17 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-04-16 01:29:17 +0800
commit974528e1d8e50b2a921d4d1a178e213d2feebeba (patch)
treedcea49564e32a7a720f3f784d934c7f37cb3c8db
parent11213eb9c80b081404c6e5ce13b4e0f81f34c695 (diff)
downloadgsoc2013-evolution-974528e1d8e50b2a921d4d1a178e213d2feebeba.tar.gz
gsoc2013-evolution-974528e1d8e50b2a921d4d1a178e213d2feebeba.tar.zst
gsoc2013-evolution-974528e1d8e50b2a921d4d1a178e213d2feebeba.zip
Set the correct border width and vbox spacing to be HIG compliant. Fixes
2003-04-14 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (vfolder_gui_add_rule): Set the correct border width and vbox spacing to be HIG compliant. Fixes bug #41209. (vfolder_edit_rule): Same here. * local-config.glade: Updated to comply with the HIG. Fixes bug #41244. svn path=/trunk/; revision=20846
-rw-r--r--mail/ChangeLog9
-rw-r--r--mail/local-config.glade9
-rw-r--r--mail/mail-vfolder.c4
3 files changed, 18 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 8989db9bb4..dae3155294 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,12 @@
+2003-04-14 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-vfolder.c (vfolder_gui_add_rule): Set the correct border
+ width and vbox spacing to be HIG compliant. Fixes bug #41209.
+ (vfolder_edit_rule): Same here.
+
+ * local-config.glade: Updated to comply with the HIG. Fixes bug
+ #41244.
+
2003-04-14 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (build_dialogue): create a stock cancel button
diff --git a/mail/local-config.glade b/mail/local-config.glade
index a85dd6d0aa..bc63ea7b47 100644
--- a/mail/local-config.glade
+++ b/mail/local-config.glade
@@ -4,6 +4,7 @@
<glade-interface>
<widget class="GtkDialog" id="dialog_format">
+ <property name="border_width">6</property>
<property name="visible">True</property>
<property name="title" translatable="yes"></property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
@@ -17,7 +18,7 @@
<widget class="GtkVBox" id="dialog-vbox1">
<property name="visible">True</property>
<property name="homogeneous">False</property>
- <property name="spacing">8</property>
+ <property name="spacing">6</property>
<child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area1">
@@ -61,7 +62,7 @@
<property name="border_width">3</property>
<property name="visible">True</property>
<property name="homogeneous">False</property>
- <property name="spacing">3</property>
+ <property name="spacing">12</property>
<child>
<widget class="GtkAlignment" id="alignment2">
@@ -137,8 +138,8 @@ recoverable. Please use this feature with care.</property>
<property name="n_rows">3</property>
<property name="n_columns">2</property>
<property name="homogeneous">False</property>
- <property name="row_spacing">0</property>
- <property name="column_spacing">2</property>
+ <property name="row_spacing">6</property>
+ <property name="column_spacing">6</property>
<child>
<widget class="GtkLabel" id="label8">
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c
index 7638d56523..9d09614182 100644
--- a/mail/mail-vfolder.c
+++ b/mail/mail-vfolder.c
@@ -878,6 +878,8 @@ vfolder_edit_rule(const char *uri)
GTK_STOCK_CANCEL,
GTK_RESPONSE_CANCEL,
NULL);
+ gtk_container_set_border_width ((GtkWindow *) gd, 6);
+ gtk_box_set_spacing ((GtkBox *) gd->vbox, 6);
gtk_dialog_set_default_response(gd, GTK_RESPONSE_OK);
g_object_set(gd, "allow_shrink", FALSE, "allow_grow", TRUE, NULL);
gtk_window_set_default_size (GTK_WINDOW (gd), 500, 500);
@@ -970,6 +972,8 @@ vfolder_gui_add_rule(VfolderRule *rule)
GTK_RESPONSE_OK,
NULL);
gtk_dialog_set_default_response(gd, GTK_RESPONSE_OK);
+ gtk_container_set_border_width ((GtkWindow *) gd, 6);
+ gtk_box_set_spacing ((GtkBox *) gd->vbox, 6);
g_object_set(gd, "allow_shrink", FALSE, "allow_grow", TRUE, NULL);
gtk_window_set_default_size (GTK_WINDOW (gd), 500, 500);
gtk_box_pack_start((GtkBox *)gd->vbox, w, TRUE, TRUE, 0);