[gvfs] afc: Add support for iOS5 thumbnails
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] afc: Add support for iOS5 thumbnails
- Date: Thu, 1 Dec 2011 20:22:08 +0000 (UTC)
commit 4611c47fb8b74be20b8cb2a33141f0ef54b0b566
Author: Bastien Nocera <hadess hadess net>
Date: Thu Dec 1 20:29:22 2011 +0100
afc: Add support for iOS5 thumbnails
daemon/gvfsbackendafc.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/daemon/gvfsbackendafc.c b/daemon/gvfsbackendafc.c
index 5eaab04..ab7094f 100644
--- a/daemon/gvfsbackendafc.c
+++ b/daemon/gvfsbackendafc.c
@@ -47,7 +47,8 @@ typedef enum {
IOS1,
IOS2,
IOS3,
- IOS4
+ IOS4,
+ IOS5
} HostOSVersion;
typedef enum {
@@ -551,6 +552,9 @@ g_vfs_backend_afc_mount (GVfsBackend *backend,
case 4:
self->version = IOS4;
break;
+ case 5:
+ self->version = IOS5;
+ break;
}
}
}
@@ -1576,7 +1580,7 @@ g_vfs_backend_afc_set_info_from_afcinfo (GVfsBackendAfc *self,
g_free (parent);
g_free (thumb_base);
}
- else if (self->version == IOS4)
+ else if (self->version == IOS4 || self->version == IOS5)
{
char **components;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]