summaryrefslogtreecommitdiff
path: root/src/gtk-utils.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-20 18:19:23 +0100
committerinfirit <[email protected]>2014-11-20 19:40:56 +0100
commit09fe261d9d0e6bbb9c44d073e6211c5eed37b2c0 (patch)
tree23d0ff1ba4936979229f87d58fb982539c9ee45f /src/gtk-utils.c
parentf121d2e1058ffbdbb602a3322a129c1e4ed5f7c4 (diff)
downloadengrampa-09fe261d9d0e6bbb9c44d073e6211c5eed37b2c0.tar.bz2
engrampa-09fe261d9d0e6bbb9c44d073e6211c5eed37b2c0.tar.xz
do not set the border width for any dialog
Based on FR commit: 2d1d283b71d4c5bf830ecc38a560df9b93932215 From: Paolo Bacchilega <[email protected]>
Diffstat (limited to 'src/gtk-utils.c')
-rw-r--r--src/gtk-utils.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/gtk-utils.c b/src/gtk-utils.c
index 8082127..fbcf967 100644
--- a/src/gtk-utils.c
+++ b/src/gtk-utils.c
@@ -75,13 +75,8 @@ _gtk_message_dialog_new (GtkWindow *parent,
stock_id = GTK_STOCK_DIALOG_INFO;
dialog = gtk_dialog_new_with_buttons ("", parent, flags, NULL);
-
content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
- gtk_container_set_border_width (GTK_CONTAINER (dialog), 6);
- gtk_container_set_border_width (GTK_CONTAINER (content_area), 6);
- gtk_box_set_spacing (GTK_BOX (content_area), 8);
-
/* Add label and image */
image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_DIALOG);
@@ -210,13 +205,8 @@ _gtk_request_dialog_run (GtkWindow *parent,
stock_id = GTK_STOCK_DIALOG_QUESTION;
dialog = gtk_dialog_new_with_buttons (title, parent, flags, NULL);
-
content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
- gtk_container_set_border_width (GTK_CONTAINER (dialog), 6);
- gtk_container_set_border_width (GTK_CONTAINER (content_area), 6);
- gtk_box_set_spacing (GTK_BOX (content_area), 8);
-
/* Add label and image */
image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_DIALOG);
@@ -304,10 +294,6 @@ _gtk_yesno_dialog_new (GtkWindow *parent,
content_area = gtk_dialog_get_content_area (GTK_DIALOG (d));
- gtk_container_set_border_width (GTK_CONTAINER (d), 6);
- gtk_container_set_border_width (GTK_CONTAINER (content_area), 6);
- gtk_box_set_spacing (GTK_BOX (content_area), 8);
-
/* Add label and image */
image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_DIALOG);
@@ -391,10 +377,6 @@ _gtk_error_dialog_new (GtkWindow *parent,
content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
- gtk_container_set_border_width (GTK_CONTAINER (dialog), 6);
- gtk_container_set_border_width (GTK_CONTAINER (content_area), 6);
- gtk_box_set_spacing (GTK_BOX (content_area), 8);
-
gtk_widget_set_size_request (dialog, 500, -1);
/* Add label and image */