summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-07-09 01:39:10 +0200
committerGravatar Nikias Bassen2010-07-09 01:39:10 +0200
commit931bdf26da0e5a116a881f429dfdb1e8eafbba3d (patch)
tree2ae8d7f26f999a7e9ce96aeddefef14d1b60f61e
parent3da9d61f7366825874872aea916ebc32821c5125 (diff)
downloadsbmanager-931bdf26da0e5a116a881f429dfdb1e8eafbba3d.tar.gz
sbmanager-931bdf26da0e5a116a881f429dfdb1e8eafbba3d.tar.bz2
Show "iPhone 4" if an iPhone 4 is connected
-rw-r--r--src/device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index 7a33ca1..3d42419 100644
--- a/src/device.c
+++ b/src/device.c
@@ -250,10 +250,11 @@ 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[7][2] = {
+ const char *devtypes[8][2] = {
{"iPhone1,1", "iPhone"},
{"iPhone1,2", "iPhone 3G"},
{"iPhone2,1", "iPhone 3GS"},
+ {"iPhone3,1", "iPhone 4"},
{"iPad1,1", "iPad"},
{"iPod1,1", "iPod Touch"},
{"iPod2,1", "iPod touch (2G)"},