From 66b3728fd50fb4129466399147555118e5480fc5 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 7 Apr 2010 17:54:06 +0200 Subject: Show "iPad" if an iPad is connected --- src/device.c | 5 +++-- 1 file 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)"} }; -- cgit v1.1-32-gdbae