Commit c03865d4 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Don't crash if all files were removed due to error when activating.

2008-02-22  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-mime-actions.c:
        (activation_mount_not_mounted):
	Don't crash if all files were removed due to error
	when activating.


svn path=/trunk/; revision=13805
parent e961c159
2008-02-22 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-mime-actions.c:
(activation_mount_not_mounted):
Don't crash if all files were removed due to error
when activating.
2008-02-22 Chrustian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-icon-container.c:
......
......@@ -1284,6 +1284,12 @@ activation_mount_not_mounted (ActivateParameters *parameters)
}
parameters->tried_mounting = TRUE;
if (parameters->files == NULL) {
activation_parameters_free (parameters);
return;
}
nautilus_file_list_call_when_ready
(parameters->files,
nautilus_mime_actions_get_required_file_attributes () | NAUTILUS_FILE_ATTRIBUTE_LINK_INFO,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment