diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/file-manager/fm-directory-view.c | 6 |
2 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2005-06-11 Martin Wehner <martin.wehner@gmail.com> + + * src/file-manager/fm-directory-view.c: + (fm_directory_view_handle_uri_list_drop): + Don't try to start a file operation if there are no real uris + left after sanitizing the list. Fixes #306246. + 2005-06-11 Kjartan Maraas <kmaraas@gnome.org> * libnautilus-private/nautilus-emblem-utils.c: diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c index c3ccfd3e2..dbbd46655 100644 --- a/src/file-manager/fm-directory-view.c +++ b/src/file-manager/fm-directory-view.c @@ -8390,6 +8390,12 @@ fm_directory_view_handle_uri_list_drop (FMDirectoryView *view, } g_strfreev (uri_list); + /* do nothing if no real uris are left */ + if (real_uri_list == NULL) { + g_free (container_uri); + return; + } + if (n_uris == 1) { GdkPoint tmp_point = { 0, 0 }; |