summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-file-operations.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-file-operations.c')
-rw-r--r--libcaja-private/caja-file-operations.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcaja-private/caja-file-operations.c b/libcaja-private/caja-file-operations.c
index b76ef038..2767922b 100644
--- a/libcaja-private/caja-file-operations.c
+++ b/libcaja-private/caja-file-operations.c
@@ -2073,6 +2073,7 @@ unmount_mount_callback (GObject *source_object,
if (data->eject) {
unmounted = g_mount_eject_with_operation_finish (G_MOUNT (source_object),
res, &error);
+ caja_application_notify_unmount_show ("It is now safe to remove the drive");
} else {
unmounted = g_mount_unmount_with_operation_finish (G_MOUNT (source_object),
res, &error);
@@ -2100,8 +2101,6 @@ unmount_mount_callback (GObject *source_object,
g_error_free (error);
}
- caja_application_notify_unmount_show ("It is now safe to remove the drive");
-
eel_remove_weak_pointer (&data->parent_window);
g_object_unref (data->mount);
g_free (data);