diff options
author | Martin Szulecki | 2010-09-21 12:41:58 +0200 |
---|---|---|
committer | Martin Szulecki | 2010-09-21 12:41:58 +0200 |
commit | eace9a9a301515b23525195aee7a7c90b462dad5 (patch) | |
tree | e8ef3b12041eec04598f3eb725bd1cf8a3163d72 /src | |
parent | 9ccc5d8bec3694276e79cae96f69a2ba7cc48acb (diff) | |
download | sbmanager-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.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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"); } |