[gvfs] gphoto2: Show iDevices through MTP
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] gphoto2: Show iDevices through MTP
- Date: Sat, 19 Mar 2016 12:30:44 +0000 (UTC)
commit 7ca0618af5d57e50041ff9e0ca90717861135783
Author: Bastien Nocera <hadess hadess net>
Date: Wed May 20 14:39:10 2015 +0200
gphoto2: Show iDevices through MTP
There's no interesting data for users in afc:/// so it's best to show
iDevices through MTP instead. Stop hiding iDevices through the MTP.
https://bugzilla.gnome.org/show_bug.cgi?id=749639
monitor/gphoto2/ggphoto2volumemonitor.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/monitor/gphoto2/ggphoto2volumemonitor.c b/monitor/gphoto2/ggphoto2volumemonitor.c
index f299737..9b8f333 100644
--- a/monitor/gphoto2/ggphoto2volumemonitor.c
+++ b/monitor/gphoto2/ggphoto2volumemonitor.c
@@ -185,15 +185,6 @@ gudev_add_camera (GGPhoto2VolumeMonitor *monitor, GUdevDevice *device, gboolean
guint num_store_heads;
const char *usb_bus_num, *usb_device_num;
- /* For iPhones and iPod Touches, don't mount gphoto mounts,
- * we already have access through AFC */
-#ifdef HAVE_AFC
- if (g_udev_device_get_property_as_boolean (device, "USBMUX_SUPPORTED"))
- {
- /* g_debug ("ignoring device, is AFC"); */
- return;
- }
-#endif /* HAVE_AFC */
#ifdef HAVE_LIBMTP
if (g_udev_device_get_property_as_boolean (device, "ID_MTP_DEVICE"))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]