summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2015-06-01 20:05:39 +0200
committerOndrej Holy <oholy@redhat.com>2015-06-08 11:00:00 +0200
commit676ba166c0b7c69e65bce7f1ec5e38ac36ad33c8 (patch)
tree3cada5df307b9e7850cff2cfa698539c80dfb71e
parent81a4d39e4aaf61dd3f9f2f1390e1fdaceb3eb91c (diff)
downloadgvfs-676ba166c0b7c69e65bce7f1ec5e38ac36ad33c8.tar.gz
monitor: Show notification always when device is unmounted
Unmount progress is shown only when unmount takes more then 1.5 seconds. However the progress should be shown everytime when unmount is finished for users to be sure it is safe to remove device. https://bugzilla.gnome.org/show_bug.cgi?id=750267
-rw-r--r--monitor/udisks2/gvfsudisks2utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/monitor/udisks2/gvfsudisks2utils.c b/monitor/udisks2/gvfsudisks2utils.c
index 9e354556..416d5e5f 100644
--- a/monitor/udisks2/gvfsudisks2utils.c
+++ b/monitor/udisks2/gvfsudisks2utils.c
@@ -814,8 +814,6 @@ gvfs_udisks2_unmount_notify_stop (GMountOperation *op)
if (data->op_aborted)
return;
- if (!data->unmount_fired)
- return;
name = unmount_notify_get_name (data);
format = data->generic_text ?