aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-12-06 04:23:50 +0800
committerChristian Persch <chpe@src.gnome.org>2005-12-06 04:23:50 +0800
commitbcaff0ac1f77177240c796781200fffc38da0e48 (patch)
treedeabd12deb83e6b54e5a5ca37b11422fd9c62020 /embed/mozilla
parentb9c31e16883bbf41d29b13c728893f5a177d3e83 (diff)
downloadgsoc2013-epiphany-bcaff0ac1f77177240c796781200fffc38da0e48.tar
gsoc2013-epiphany-bcaff0ac1f77177240c796781200fffc38da0e48.tar.gz
gsoc2013-epiphany-bcaff0ac1f77177240c796781200fffc38da0e48.tar.bz2
gsoc2013-epiphany-bcaff0ac1f77177240c796781200fffc38da0e48.tar.lz
gsoc2013-epiphany-bcaff0ac1f77177240c796781200fffc38da0e48.tar.xz
gsoc2013-epiphany-bcaff0ac1f77177240c796781200fffc38da0e48.tar.zst
gsoc2013-epiphany-bcaff0ac1f77177240c796781200fffc38da0e48.zip
Fix spacings to be HIG compliant. Set window roles.
2005-12-05 Christian Persch <chpe@cvs.gnome.org> * data/glade/certificate-dialogs.glade: * data/glade/epiphany.glade: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * src/pdm-dialog.c: (show_cookies_properties), (pdm_dialog_init): Fix spacings to be HIG compliant. Set window roles.
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/GtkNSSClientAuthDialogs.cpp3
-rw-r--r--embed/mozilla/GtkNSSDialogs.cpp7
2 files changed, 4 insertions, 6 deletions
diff --git a/embed/mozilla/GtkNSSClientAuthDialogs.cpp b/embed/mozilla/GtkNSSClientAuthDialogs.cpp
index 62e85f17e..ae88a6b25 100644
--- a/embed/mozilla/GtkNSSClientAuthDialogs.cpp
+++ b/embed/mozilla/GtkNSSClientAuthDialogs.cpp
@@ -168,8 +168,7 @@ GtkNSSClientAuthDialogs::ChooseCertificate (nsIInterfaceRequestor *ctx,
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
- gtk_box_set_spacing (GTK_BOX(GTK_DIALOG (dialog)->action_area), 6);
- gtk_box_set_spacing (GTK_BOX(GTK_DIALOG (dialog)->vbox), 12);
+ gtk_box_set_spacing (GTK_BOX(GTK_DIALOG (dialog)->vbox), 14); /* 24 = 2 * 5 + 14 */
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
hbox = gtk_hbox_new (FALSE, 12);
diff --git a/embed/mozilla/GtkNSSDialogs.cpp b/embed/mozilla/GtkNSSDialogs.cpp
index 086821a35..a9c4f4c25 100644
--- a/embed/mozilla/GtkNSSDialogs.cpp
+++ b/embed/mozilla/GtkNSSDialogs.cpp
@@ -179,8 +179,7 @@ higgy_setup_dialog (GtkDialog *dialog, const gchar *stock_icon,
gtk_widget_show (label);
/* Set up the spacing for the dialog internal widgets */
- gtk_box_set_spacing (GTK_BOX(dialog->action_area), 6);
- gtk_box_set_spacing (GTK_BOX(dialog->vbox), 2);
+ gtk_box_set_spacing (GTK_BOX(dialog->vbox), 14); /* 24 = 2 * 5 + 14 */
*content_label = label;
if (content_vbox)
@@ -787,7 +786,7 @@ GtkNSSDialogs::SetPKCS12FilePassword(nsIInterfaceRequestor *ctx,
table = gtk_table_new (3, 3, FALSE);
gtk_table_set_row_spacings (GTK_TABLE (table), 6);
- gtk_table_set_col_spacings (GTK_TABLE (table), 6);
+ gtk_table_set_col_spacings (GTK_TABLE (table), 12);
gtk_box_pack_start (GTK_BOX (vbox), table, FALSE, FALSE, 0);
label = gtk_label_new (NULL);
@@ -998,7 +997,7 @@ GtkNSSDialogs::CrlImportStatusDialog(nsIInterfaceRequestor *ctx, nsICRLInfo *crl
table = gtk_table_new (2, 3, FALSE);
gtk_table_set_row_spacings (GTK_TABLE (table), 6);
- gtk_table_set_col_spacings (GTK_TABLE (table), 6);
+ gtk_table_set_col_spacings (GTK_TABLE (table), 12);
nsEmbedString org, orgUnit, nextUpdate;
rv = crl->GetOrganization (org);