aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog10
-rw-r--r--data/glade/certificate-dialogs.glade33
-rw-r--r--data/glade/epiphany.glade13
-rw-r--r--embed/mozilla/GtkNSSClientAuthDialogs.cpp3
-rw-r--r--embed/mozilla/GtkNSSDialogs.cpp7
-rwxr-xr-xsrc/pdm-dialog.c3
6 files changed, 36 insertions, 33 deletions
diff --git a/ChangeLog b/ChangeLog
index ab0b7796b..8b3b92b3c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
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.
+
+2005-12-05 Christian Persch <chpe@cvs.gnome.org>
+
* src/languages.h:
Add "tt".
diff --git a/data/glade/certificate-dialogs.glade b/data/glade/certificate-dialogs.glade
index 820e804ab..a6becade0 100644
--- a/data/glade/certificate-dialogs.glade
+++ b/data/glade/certificate-dialogs.glade
@@ -12,11 +12,15 @@
<property name="modal">True</property>
<property name="resizable">True</property>
<property name="destroy_with_parent">False</property>
+ <property name="icon_name">stock_certificate</property>
+ <property name="role">epiphany-certificate-view</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+ <property name="focus_on_map">True</property>
+ <property name="urgency_hint">False</property>
<property name="has_separator">False</property>
<child internal-child="vbox">
@@ -81,7 +85,7 @@
<property name="border_width">12</property>
<property name="visible">True</property>
<property name="homogeneous">False</property>
- <property name="spacing">12</property>
+ <property name="spacing">18</property>
<child>
<widget class="GtkVBox" id="vbox_validity">
@@ -122,17 +126,6 @@
</child>
<child>
- <widget class="GtkHSeparator" id="hseparator1">
- <property name="visible">True</property>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
-
- <child>
<widget class="GtkVBox" id="vbox3">
<property name="visible">True</property>
<property name="homogeneous">False</property>
@@ -172,7 +165,7 @@
<property name="yscale">1</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
- <property name="left_padding">18</property>
+ <property name="left_padding">12</property>
<property name="right_padding">0</property>
<child>
@@ -182,7 +175,7 @@
<property name="n_columns">2</property>
<property name="homogeneous">False</property>
<property name="row_spacing">6</property>
- <property name="column_spacing">6</property>
+ <property name="column_spacing">12</property>
<child>
<widget class="GtkLabel" id="label_size">
@@ -468,7 +461,7 @@
<property name="yscale">1</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
- <property name="left_padding">18</property>
+ <property name="left_padding">12</property>
<property name="right_padding">0</property>
<child>
@@ -478,7 +471,7 @@
<property name="n_columns">2</property>
<property name="homogeneous">False</property>
<property name="row_spacing">6</property>
- <property name="column_spacing">6</property>
+ <property name="column_spacing">12</property>
<child>
<widget class="GtkLabel" id="label41">
@@ -707,7 +700,7 @@
<property name="yscale">1</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
- <property name="left_padding">18</property>
+ <property name="left_padding">12</property>
<property name="right_padding">0</property>
<child>
@@ -717,7 +710,7 @@
<property name="n_columns">2</property>
<property name="homogeneous">False</property>
<property name="row_spacing">6</property>
- <property name="column_spacing">6</property>
+ <property name="column_spacing">12</property>
<child>
<widget class="GtkLabel" id="label35">
@@ -889,7 +882,7 @@
<property name="yscale">1</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
- <property name="left_padding">18</property>
+ <property name="left_padding">12</property>
<property name="right_padding">0</property>
<child>
@@ -899,7 +892,7 @@
<property name="n_columns">2</property>
<property name="homogeneous">False</property>
<property name="row_spacing">6</property>
- <property name="column_spacing">6</property>
+ <property name="column_spacing">12</property>
<child>
<widget class="GtkLabel" id="label_size4">
diff --git a/data/glade/epiphany.glade b/data/glade/epiphany.glade
index f0a7d2a9c..820867749 100644
--- a/data/glade/epiphany.glade
+++ b/data/glade/epiphany.glade
@@ -14,6 +14,7 @@
<property name="modal">False</property>
<property name="resizable">True</property>
<property name="destroy_with_parent">True</property>
+ <property name="role">epiphany-cookie-manager</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
@@ -84,7 +85,7 @@
<property name="border_width">12</property>
<property name="visible">True</property>
<property name="homogeneous">False</property>
- <property name="spacing">6</property>
+ <property name="spacing">12</property>
<child>
<widget class="GtkScrolledWindow" id="scrolledwindow1139">
@@ -189,7 +190,7 @@
<property name="border_width">12</property>
<property name="visible">True</property>
<property name="homogeneous">False</property>
- <property name="spacing">6</property>
+ <property name="spacing">12</property>
<child>
<widget class="GtkScrolledWindow" id="scrolledwindow1140">
@@ -225,7 +226,7 @@
<widget class="GtkVBox" id="vbox149">
<property name="visible">True</property>
<property name="homogeneous">False</property>
- <property name="spacing">0</property>
+ <property name="spacing">18</property>
<child>
<widget class="GtkVButtonBox" id="vbuttonbox2">
@@ -328,6 +329,7 @@
<property name="default_height">420</property>
<property name="resizable">True</property>
<property name="destroy_with_parent">False</property>
+ <property name="role">epiphany-encoding-chooser</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
@@ -423,7 +425,7 @@
<property name="yscale">1</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
- <property name="left_padding">18</property>
+ <property name="left_padding">12</property>
<property name="right_padding">0</property>
<child>
@@ -495,7 +497,7 @@
<property name="yscale">1</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
- <property name="left_padding">18</property>
+ <property name="left_padding">12</property>
<property name="right_padding">0</property>
<child>
@@ -545,6 +547,7 @@
<property name="modal">False</property>
<property name="resizable">True</property>
<property name="destroy_with_parent">False</property>
+ <property name="role">epiphany-download-manager</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
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);
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 98ed352e6..821f35d44 100755
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -385,7 +385,7 @@ show_cookies_properties (PdmDialog *dialog,
EPHY_STATE_WINDOW_SAVE_SIZE | EPHY_STATE_WINDOW_SAVE_POSITION);
gtk_dialog_set_has_separator (GTK_DIALOG(gdialog), FALSE);
gtk_container_set_border_width (GTK_CONTAINER (gdialog), 5);
- gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (gdialog)->vbox), 2);
+ gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (gdialog)->vbox), 14); /* 24 = 2 * 5 + 14 */
table = gtk_table_new (2, 4, FALSE);
gtk_container_set_border_width (GTK_CONTAINER (table), 5);
@@ -1196,7 +1196,6 @@ pdm_dialog_init (PdmDialog *dialog)
ephy_gui_ensure_window_group (GTK_WINDOW (window));
- gtk_window_set_role (GTK_WINDOW (window), "epiphany-cookie-manager");
gtk_window_set_icon_name (GTK_WINDOW (window), "web-browser");
g_signal_connect (window, "response",