[Xfce4-commits] [xfce/thunar] 01/01: hide android phone from network group (bug #11584)

noreply at xfce.org noreply at xfce.org
Mon Mar 30 22:14:39 CEST 2020


This is an automated email from the git hooks/post-receive script.

a   l   e   x       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/thunar.

commit 2083be5c8550cfc2152d3f2c418dc40783885b72
Author: Yousuf Philips <philipz85 at hotmail.com>
Date:   Sun Mar 29 23:07:26 2020 +0400

    hide android phone from network group (bug #11584)
---
 thunar/thunar-device-monitor.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/thunar/thunar-device-monitor.c b/thunar/thunar-device-monitor.c
index a825e1c..1e76fd8 100644
--- a/thunar/thunar-device-monitor.c
+++ b/thunar/thunar-device-monitor.c
@@ -576,8 +576,9 @@ thunar_device_monitor_mount_added (GVolumeMonitor      *volume_monitor,
       if (G_UNLIKELY (location == NULL))
         return;
 
-      /* skip ghoto locations, since those also have a volume */
-      if (g_file_has_uri_scheme (location, "gphoto2"))
+      /* skip gphoto and mtp locations, since those also have a volume */
+      if (g_file_has_uri_scheme (location, "gphoto2")
+          || g_file_has_uri_scheme (location, "mtp"))
         {
           g_object_unref (location);
           return;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list