mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-13 04:51:15 +00:00
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
This commit is contained in:
parent
e961c15959
commit
c03865d477
|
@ -1,3 +1,10 @@
|
|||
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,
|
||||
|
|
Loading…
Reference in a new issue