summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-04-07 17:54:06 +0200
committerGravatar Martin Szulecki2010-04-07 18:58:02 +0200
commit66b3728fd50fb4129466399147555118e5480fc5 (patch)
treebdfbb8c0ae95c79481bf99004c8b8af62dab0222 /src
parent7ee5dc8e9b27cb485238adad62f104b3f1734d07 (diff)
downloadsbmanager-66b3728fd50fb4129466399147555118e5480fc5.tar.gz
sbmanager-66b3728fd50fb4129466399147555118e5480fc5.tar.bz2
Show "iPad" if an iPad is connected
Diffstat (limited to 'src')
-rw-r--r--src/device.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c
index b24757b..7a33ca1 100644
--- a/src/device.c
+++ b/src/device.c
@@ -250,11 +250,12 @@ gboolean device_get_info(const char *uuid, device_info_t *device_info, GError **
lockdownd_get_value(client, NULL, "ProductType", &node);
if (node) {
char *devtype = NULL;
- const char *devtypes[6][2] = {
+ const char *devtypes[7][2] = {
{"iPhone1,1", "iPhone"},
{"iPhone1,2", "iPhone 3G"},
{"iPhone2,1", "iPhone 3GS"},
- {"iPod1,1", "iPod Touch"},
+ {"iPad1,1", "iPad"},
+ {"iPod1,1", "iPod Touch"},
{"iPod2,1", "iPod touch (2G)"},
{"iPod3,1", "iPod Touch (3G)"}
};