aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodney Dawes <dobey@novell.com>2005-02-05 02:36:43 +0800
committerRodney Dawes <dobey@src.gnome.org>2005-02-05 02:36:43 +0800
commit5c115620f8190d60535b8fa506102bdb5be31932 (patch)
tree9a79e26f037a379416930b0a00ce576d30b086ac
parentb49e081892dce4d74a52044f4e2660200864ca60 (diff)
downloadgsoc2013-evolution-5c115620f8190d60535b8fa506102bdb5be31932.tar.gz
gsoc2013-evolution-5c115620f8190d60535b8fa506102bdb5be31932.tar.zst
gsoc2013-evolution-5c115620f8190d60535b8fa506102bdb5be31932.zip
Set the border widths for the dialog internal container widgets to be HIG
2005-02-04 Rodney Dawes <dobey@novell.com> * gui/ca-trust-dialog.c (ca_trust_dialog_new): Set the border widths for the dialog internal container widgets to be HIG compliant * gui/smime-ui.glade: Set the vbox spacing to 12 for HIG compliance svn path=/trunk/; revision=28712
-rw-r--r--smime/ChangeLog7
-rw-r--r--smime/gui/ca-trust-dialog.c5
-rw-r--r--smime/gui/smime-ui.glade2
3 files changed, 13 insertions, 1 deletions
diff --git a/smime/ChangeLog b/smime/ChangeLog
index cfe556db97..4fcf9764a0 100644
--- a/smime/ChangeLog
+++ b/smime/ChangeLog
@@ -1,3 +1,10 @@
+2005-02-04 Rodney Dawes <dobey@novell.com>
+
+ * gui/ca-trust-dialog.c (ca_trust_dialog_new): Set the border widths
+ for the dialog internal container widgets to be HIG compliant
+
+ * gui/smime-ui.glade: Set the vbox spacing to 12 for HIG compliance
+
2004-11-23 Not Zed <NotZed@Ximian.com>
* gui/certificate-manager.c (delete_ca): don't remove the tree
diff --git a/smime/gui/ca-trust-dialog.c b/smime/gui/ca-trust-dialog.c
index b0dc07001e..f5c2aba259 100644
--- a/smime/gui/ca-trust-dialog.c
+++ b/smime/gui/ca-trust-dialog.c
@@ -81,6 +81,11 @@ ca_trust_dialog_show (ECert *cert, gboolean importing)
ctd_data->gui = glade_xml_new (EVOLUTION_GLADEDIR "/" GLADE_FILE_NAME, NULL, NULL);
ctd_data->dialog = glade_xml_get_widget (ctd_data->gui, "ca-trust-dialog");
+
+ gtk_widget_ensure_style (ctd_data->dialog);
+ gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (ctd_data->dialog)->vbox), 0);
+ gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (ctd_data->dialog)->action_area), 12);
+
ctd_data->cert = g_object_ref (cert);
ctd_data->ssl_checkbutton = glade_xml_get_widget (ctd_data->gui, "ssl_trust_checkbutton");
diff --git a/smime/gui/smime-ui.glade b/smime/gui/smime-ui.glade
index 240cf2de6f..52eb4df26f 100644
--- a/smime/gui/smime-ui.glade
+++ b/smime/gui/smime-ui.glade
@@ -1918,7 +1918,7 @@
<property name="border_width">12</property>
<property name="visible">True</property>
<property name="homogeneous">False</property>
- <property name="spacing">0</property>
+ <property name="spacing">12</property>
<child>
<widget class="GtkLabel" id="ca-trust-label">