From eace9a9a301515b23525195aee7a7c90b462dad5 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 21 Sep 2010 12:41:58 +0200 Subject: Load wallpaper on iOS 3.2+ and only use iconstate format 2 on iOS 4+ This allows to show the wallpaper on a iPad devices. --- src/gui.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gui.c') diff --git a/src/gui.c b/src/gui.c index 31f3dbf..7a07083 100644 --- a/src/gui.c +++ b/src/gui.c @@ -1804,7 +1804,10 @@ static gboolean gui_pages_init_cb(gpointer user_data) #ifdef HAVE_LIBIMOBILEDEVICE_1_1 if (osversion >= 0x04000000) { fmt_version = "2"; - /* Load wallpaper if available */ + } + + /* Load wallpaper if available */ + if (osversion >= 0x03020000) { if (device_sbs_save_wallpaper(sbc, "/tmp/wallpaper.png", &error)) { gui_set_wallpaper("/tmp/wallpaper.png"); } -- cgit v1.1-32-gdbae