File xfce4-mount-plugin-0.5.5-hide-gvfs-fuse-daemon-mount.patch of Package xfce4-panel-plugins

diff -urNp xfce4-mount-plugin-0.5.5.orig/panel-plugin/devices.c xfce4-mount-plugin-0.5.5/panel-plugin/devices.c
--- xfce4-mount-plugin-0.5.5.orig/panel-plugin/devices.c	2008-05-17 11:49:21.000000000 +0200
+++ xfce4-mount-plugin-0.5.5/panel-plugin/devices.c	2011-02-12 15:54:36.000000000 +0100
@@ -561,6 +561,7 @@ disks_refresh(GPtrArray * pdisks, GPtrAr
             /* test for mnt_dir==none or neither block device nor NFS or system device */
             if ( exclude ||
               g_ascii_strcasecmp(pmntent->mnt_dir, "none") == 0 ||
+              g_ascii_strcasecmp(pmntent->mnt_type, "fuse.gvfs-fuse-daemon") == 0 ||
               !(g_str_has_prefix(pmntent->mnt_fsname, "/dev/") ||
               g_str_has_prefix(pmntent->mnt_type, "fuse") ||
               g_str_has_prefix(pmntent->mnt_type, "nfs") ||
openSUSE Build Service is sponsored by