[gvfs/gnome-3-16] monitor: Show notification always when device is unmounted



commit 676ba166c0b7c69e65bce7f1ec5e38ac36ad33c8
Author: Ondrej Holy <oholy redhat com>
Date:   Mon Jun 1 20:05:39 2015 +0200

    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

 monitor/udisks2/gvfsudisks2utils.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/monitor/udisks2/gvfsudisks2utils.c b/monitor/udisks2/gvfsudisks2utils.c
index 9e35455..416d5e5 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 ?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]