[baobab] LocationList: remove old workaround



commit 5e88ed0692ed5a2aa027f063e7ae8563e07cf8dd
Author: Stefano Facchini <stefano facchini gmail com>
Date:   Mon Apr 11 14:31:07 2016 +0200

    LocationList: remove old workaround

 src/baobab-location-list.vala |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/baobab-location-list.vala b/src/baobab-location-list.vala
index 67bd9c3..672d3f1 100644
--- a/src/baobab-location-list.vala
+++ b/src/baobab-location-list.vala
@@ -129,16 +129,7 @@ namespace Baobab {
         }
 
         void volume_added (Volume volume) {
-            // Since GVolumeMonitor unnecessarly fires "volume-added" signals
-            // at startup (see bugzilla bug 684677) we need to workaround and
-            // check for duplicates, until a fixed version of gvfs is released.
-            foreach (var location in locations) {
-                if (location.volume == volume) {
-                    return;
-                }
-            }
             append_to_volumes (new Location.from_volume (volume));
-
             update ();
         }
 


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