[gvfs] Fix bug where drives are not ignored as they ought to be



commit 59dd3b33a71a930651f23142e2a7d7e57727144f
Author: David Zeuthen <davidz redhat com>
Date:   Fri May 1 17:23:01 2009 -0400

    Fix bug where drives are not ignored as they ought to be
    
    This should fix part of
    
     https://bugzilla.redhat.com/show_bug.cgi?id=498649#c14
    
    (the other part is fixed in the Fedora livecd scripts)
---
 monitor/gdu/ggduvolumemonitor.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/monitor/gdu/ggduvolumemonitor.c b/monitor/gdu/ggduvolumemonitor.c
index 2c1f727..df42249 100644
--- a/monitor/gdu/ggduvolumemonitor.c
+++ b/monitor/gdu/ggduvolumemonitor.c
@@ -833,8 +833,10 @@ should_drive_be_ignored (GduPool *pool, GduDrive *d, GList *fstab_mount_points)
       goto out;
     }
 
-  if (gdu_device_get_presentation_hide (device))
+  if (gdu_device_get_presentation_hide (device)) {
+    ignored = TRUE;
     goto out;
+  }
 
   has_volumes = FALSE;
   all_volumes_are_ignored = TRUE;



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