From 3f5372159fd33c6315acb4b9da048372ca21f586 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sun, 5 Sep 2010 22:29:35 +0900 Subject: GtkDialog separators are gone in GTK+ 3.x --- src/bookmarks/ephy-bookmark-properties.c | 1 - src/bookmarks/ephy-bookmarks-editor.c | 3 +-- src/ephy-toolbar-editor.c | 1 - src/pdm-dialog.c | 1 - 4 files changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/bookmarks/ephy-bookmark-properties.c b/src/bookmarks/ephy-bookmark-properties.c index e08e2add0..b681f21e4 100644 --- a/src/bookmarks/ephy-bookmark-properties.c +++ b/src/bookmarks/ephy-bookmark-properties.c @@ -528,7 +528,6 @@ ephy_bookmark_properties_constructor (GType type, update_window_title (properties); content_area = gtk_dialog_get_content_area (dialog); - gtk_dialog_set_has_separator (dialog, FALSE); gtk_container_set_border_width (GTK_CONTAINER (properties), 5); gtk_box_set_spacing (GTK_BOX (content_area), 2); diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c index 6a7ae1fb5..6a7c27b53 100644 --- a/src/bookmarks/ephy-bookmarks-editor.c +++ b/src/bookmarks/ephy-bookmarks-editor.c @@ -948,8 +948,7 @@ cmd_bookmarks_import (GtkAction *action, dialog = gtk_dialog_new_with_buttons (_("Import Bookmarks"), GTK_WINDOW (editor), - GTK_DIALOG_DESTROY_WITH_PARENT | - GTK_DIALOG_NO_SEPARATOR, + GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, _("I_mport"), diff --git a/src/ephy-toolbar-editor.c b/src/ephy-toolbar-editor.c index a583ede62..4476e1fbe 100644 --- a/src/ephy-toolbar-editor.c +++ b/src/ephy-toolbar-editor.c @@ -181,7 +181,6 @@ ephy_toolbar_editor_constructor (GType type, vbox = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (dialog)), 5); gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), 2); - gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE); gtk_window_set_title (GTK_WINDOW (dialog), _("Toolbar Editor")); gtk_window_set_icon_name (GTK_WINDOW (dialog), EPHY_STOCK_EPHY); diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c index 2ad6355dd..a91047bdf 100644 --- a/src/pdm-dialog.c +++ b/src/pdm-dialog.c @@ -659,7 +659,6 @@ show_cookies_properties (PdmDialog *dialog, ephy_state_add_window (GTK_WIDGET (gdialog), "cookie_properties", -1, -1, FALSE, 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); content_area = gtk_dialog_get_content_area (GTK_DIALOG (gdialog)); gtk_box_set_spacing (GTK_BOX (content_area), 14); /* 24 = 2 * 5 + 14 */ -- cgit v1.2.3