summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-09-21 12:41:58 +0200
committerGravatar Martin Szulecki2010-09-21 12:41:58 +0200
commiteace9a9a301515b23525195aee7a7c90b462dad5 (patch)
treee8ef3b12041eec04598f3eb725bd1cf8a3163d72 /src
parent9ccc5d8bec3694276e79cae96f69a2ba7cc48acb (diff)
downloadsbmanager-eace9a9a301515b23525195aee7a7c90b462dad5.tar.gz
sbmanager-eace9a9a301515b23525195aee7a7c90b462dad5.tar.bz2
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.
Diffstat (limited to 'src')
-rw-r--r--src/gui.c5
1 files changed, 4 insertions, 1 deletions
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");
}