aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.c
diff options
context:
space:
mode:
authorChristian Neumair <cneumair@src.gnome.org>2003-05-20 03:53:28 +0800
committerChristian Neumair <cneumair@src.gnome.org>2003-05-20 03:53:28 +0800
commit0c843e88a595d6191a043426b99b49f65d2b24e4 (patch)
treea6afa871bade95702493ce5a8a1f9767bbebdda1 /src/window-commands.c
parente47814bfadf34a954531ebbb61a45c4730ccc4d5 (diff)
downloadgsoc2013-epiphany-0c843e88a595d6191a043426b99b49f65d2b24e4.tar
gsoc2013-epiphany-0c843e88a595d6191a043426b99b49f65d2b24e4.tar.gz
gsoc2013-epiphany-0c843e88a595d6191a043426b99b49f65d2b24e4.tar.bz2
gsoc2013-epiphany-0c843e88a595d6191a043426b99b49f65d2b24e4.tar.lz
gsoc2013-epiphany-0c843e88a595d6191a043426b99b49f65d2b24e4.tar.xz
gsoc2013-epiphany-0c843e88a595d6191a043426b99b49f65d2b24e4.tar.zst
gsoc2013-epiphany-0c843e88a595d6191a043426b99b49f65d2b24e4.zip
Made (hopefully) all dialogs HIG compliant, at least when it comes to spacing.
Last patch of the #112781 patch series.
Diffstat (limited to 'src/window-commands.c')
-rw-r--r--src/window-commands.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index d827a95f5..fbc141ca0 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -695,18 +695,25 @@ window_cmd_edit_toolbar (EggAction *action,
EGG_TOOLBARS_MODEL (model));
egg_toolbar_editor_load_actions (EGG_TOOLBAR_EDITOR (editor),
ephy_file ("epiphany-toolbar.xml"));
+ gtk_container_set_border_width (GTK_CONTAINER (EGG_TOOLBAR_EDITOR (editor)), 5);
+ gtk_box_set_spacing (GTK_BOX (EGG_TOOLBAR_EDITOR (editor)), 5);
gtk_container_add (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), editor);
g_signal_connect (editor, "destroy",
G_CALLBACK (toolbar_editor_destroy_cb),
t);
gtk_widget_show (editor);
+
+ gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 2);
+ gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (dialog)), 5);
+
gtk_dialog_add_button (GTK_DIALOG (dialog),
_("_Add a New Toolbar"), RESPONSE_ADD_TOOLBAR);
gtk_dialog_add_button (GTK_DIALOG (dialog),
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
gtk_dialog_add_button (GTK_DIALOG (dialog),
GTK_STOCK_HELP, GTK_RESPONSE_HELP);
+
g_signal_connect (G_OBJECT (dialog), "response",
G_CALLBACK (toolbar_editor_response_cb), NULL);
ephy_state_add_window (dialog,