summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-icon-dnd.c
diff options
context:
space:
mode:
authorArvind Samptur <arvind.samptur@wipro.com>2003-02-17 09:20:56 +0000
committerArvind Samptur <arvind@src.gnome.org>2003-02-17 09:20:56 +0000
commit14e2c3764f7968dfc28abe0c8118bded4e70413f (patch)
treece32dee0631f174a7a022ef5b2fcccfe004437a1 /libnautilus-private/nautilus-icon-dnd.c
parent9afb72f2bb881a630fb388635c9d7d922f503e56 (diff)
downloadnautilus-14e2c3764f7968dfc28abe0c8118bded4e70413f.tar.gz
Multi-head stuff done for the preferences dialog.
2003-02-17 Arvind Samptur <arvind.samptur@wipro.com> * src/nautilus-file-management-properties.[ch]: (nautilus_file_management_properties_dialog_setup): (nautilus_file_management_properties_dialog_show): * src/nautilus-window-menus.c: (preferences_callback): * src/nautilus-file-management-properties-main.c: (main): Multi-head stuff done for the preferences dialog. * libnautilus-private/nautilus-icon-dnd.c: (confirm_switch_to_manual_layout) Get the transient parent for the "Switch to Manual Layout ?" right. Patches approved by Dave Camp. #100343 and #106086.
Diffstat (limited to 'libnautilus-private/nautilus-icon-dnd.c')
-rw-r--r--libnautilus-private/nautilus-icon-dnd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libnautilus-private/nautilus-icon-dnd.c b/libnautilus-private/nautilus-icon-dnd.c
index d384ae063..9272748a3 100644
--- a/libnautilus-private/nautilus-icon-dnd.c
+++ b/libnautilus-private/nautilus-icon-dnd.c
@@ -744,9 +744,8 @@ confirm_switch_to_manual_layout (NautilusIconContainer *container)
dialog = eel_show_yes_no_dialog (message, _("Switch to Manual Layout?"),
_("Switch"), GTK_STOCK_CANCEL,
- GTK_WINDOW (gtk_widget_get_ancestor
- (GTK_WIDGET (container), GTK_TYPE_WINDOW)));
-
+ GTK_WINDOW (gtk_widget_get_toplevel(GTK_WIDGET(container))));
+
response = gtk_dialog_run (dialog);
gtk_object_destroy (GTK_OBJECT (dialog));