From f715c665be27404832fb64a5e3dad29ad38efefb Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: May 02 2009 05:01:34 +0000 Subject: Really hide drives that are supposed to be hidden --- diff --git a/gvfs-1.2.2-really-hide.patch b/gvfs-1.2.2-really-hide.patch new file mode 100644 index 0000000..cffc371 --- /dev/null +++ b/gvfs-1.2.2-really-hide.patch @@ -0,0 +1,15 @@ +diff -up gvfs-1.2.2/monitor/gdu/ggduvolumemonitor.c.really-hide gvfs-1.2.2/monitor/gdu/ggduvolumemonitor.c +--- gvfs-1.2.2/monitor/gdu/ggduvolumemonitor.c.really-hide 2009-05-02 00:56:23.201705660 -0400 ++++ gvfs-1.2.2/monitor/gdu/ggduvolumemonitor.c 2009-05-02 00:57:36.652379965 -0400 +@@ -834,7 +834,10 @@ should_drive_be_ignored (GduPool *pool, + } + + if (gdu_device_get_presentation_hide (device)) +- goto out; ++ { ++ ignored = TRUE; ++ goto out; ++ } + + has_volumes = FALSE; + all_volumes_are_ignored = TRUE; diff --git a/gvfs.spec b/gvfs.spec index 2e4e72b..08262b3 100644 --- a/gvfs.spec +++ b/gvfs.spec @@ -1,7 +1,7 @@ Summary: Backends for the gio framework in GLib Name: gvfs Version: 1.2.2 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://www.gtk.org @@ -65,6 +65,9 @@ Patch111: gdu-0011-Bug-576083-pre-unmount-signals-not-being-trigger.patch Patch112: gdu-0012-use-new-gnome-disk-utility-API-to-hide-unwanted-devi.patch Patch113: gdu-0013-pass-the-flush-mount-option-for-vfat.patch +# upstream fix +Patch120: gvfs-1.2.2-really-hide.patch + %description The gvfs package provides backend implementations for the gio framework in GLib. It includes ftp, sftp, cifs. @@ -164,6 +167,8 @@ media players (Media Transfer Protocol) to applications using gvfs. %patch112 -p1 -b .gdu-unwanted-devices %patch113 -p1 -b .gdu-vfat-flush +%patch120 -p1 -b .really-hide + %build # Needed for gvfs-0.2.1-archive-integration.patch @@ -306,6 +311,9 @@ update-desktop-database &> /dev/null ||: %changelog +* Sat May 2 2009 Matthias Clasen - 1.2.2-4 +- Really hide drives that are supposed to be hidden (#498649) + * Wed Apr 15 2009 David Zeuthen - 1.2.2-3 - Sync with the gdu-volume-monitor branch