summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fr-window.c5
-rw-r--r--src/gtk-utils.c18
2 files changed, 0 insertions, 23 deletions
diff --git a/src/fr-window.c b/src/fr-window.c
index 0ff7f25..84bac36 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -7246,12 +7246,7 @@ fr_window_view_last_output (FrWindow *window,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CLOSE);
-
gtk_window_set_resizable (GTK_WINDOW (dialog), TRUE);
- gtk_container_set_border_width (GTK_CONTAINER (dialog), 6);
- gtk_container_set_border_width (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), 6);
- gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), 8);
-
gtk_widget_set_size_request (dialog, 500, 300);
/* Add text */
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 */