summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-file-operations.c
diff options
context:
space:
mode:
authorDave Camp <dave@ximian.com>2003-08-04 05:48:22 +0000
committerDave Camp <campd@src.gnome.org>2003-08-04 05:48:22 +0000
commitdcbbbb2200de8bb1470247aad48ac480e79f0045 (patch)
treee1ac7a3d7075fb589fef6e16090fbaf45209670c /libnautilus-private/nautilus-file-operations.c
parent526c3a97434f5eb8fd6d7d62fb9088de5f04b856 (diff)
downloadnautilus-dcbbbb2200de8bb1470247aad48ac480e79f0045.tar.gz
Use the parent_view's toplevel for the dialog rather than the view itself.
2003-08-04 Dave Camp <dave@ximian.com> * libnautilus-private/nautilus-file-operations.c: (handle_new_folder_vfs_error): Use the parent_view's toplevel for the dialog rather than the view itself.
Diffstat (limited to 'libnautilus-private/nautilus-file-operations.c')
-rw-r--r--libnautilus-private/nautilus-file-operations.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-file-operations.c b/libnautilus-private/nautilus-file-operations.c
index 6f70b0b4a..1edfe54b2 100644
--- a/libnautilus-private/nautilus-file-operations.c
+++ b/libnautilus-private/nautilus-file-operations.c
@@ -2037,7 +2037,7 @@ handle_new_folder_vfs_error (const GnomeVFSXferProgressInfo *progress_info, NewF
}
eel_show_error_dialog (error_string, _("Error creating new folder"),
- GTK_WINDOW (state->parent_view));
+ GTK_WINDOW (gtk_widget_get_toplevel (state->parent_view)));
g_free (error_string_to_free);