Commit fa74fc05 authored by Tomáš Bžatek's avatar Tomáš Bžatek Committed by Tomas Bzatek

Fix new windows not appearing after successful mount (needed for #524485)

2008-12-15  Tomas Bzatek  <tbzatek@redhat.com> 

        * libnautilus-private/nautilus-mime-actions.c:
        (activation_mount_not_mounted):
        Fix new windows not appearing after successful mount
        (needed for #524485)


svn path=/trunk/; revision=14813
parent 951ce340
2008-12-15 Tomas Bzatek <tbzatek@redhat.com>
* libnautilus-private/nautilus-mime-actions.c:
(activation_mount_not_mounted):
Fix new windows not appearing after successful mount
(needed for #524485)
2008-12-12 A. Walton <awalton@gnome.org>
* libnautilus-private/nautilus-mime-actions.c
......
......@@ -1540,6 +1540,7 @@ activation_mount_not_mounted (ActivateParameters *parameters)
NautilusFile *file;
GFile *location;
GMountOperation *mount_op;
GList *l, *next;
if (parameters->not_mounted != NULL) {
file = parameters->not_mounted->data;
......@@ -1562,6 +1563,14 @@ activation_mount_not_mounted (ActivateParameters *parameters)
return;
}
/* once the mount is finished, refresh all attributes */
/* - fixes new windows not appearing after successful mount */
for (l = parameters->files; l != NULL; l = next) {
file = NAUTILUS_FILE (l->data);
next = l->next;
nautilus_file_invalidate_all_attributes (file);
}
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