summaryrefslogtreecommitdiff
path: root/monitor
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 10:54:19 +0200
commit0f91898d0bc148ba0efa188d6798c3b5a780ab43 (patch)
tree2fa704e6308fd0260f1d8e9fa5d94fb308c9ff85 /monitor
parent5e0deba248c5b23243d65ceccc612a4a635c5e3e (diff)
downloadgvfs-0f91898d0bc148ba0efa188d6798c3b5a780ab43.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
Diffstat (limited to 'monitor')
-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 ?