options: do not update wallpaper if selected one is same to current one

in case of video wallpaper
if we just get into setting -> wallpaper, video was restarted.

@fix
This commit is contained in:
Wonguk Jeong 2014-07-31 20:16:29 +02:00
parent 0a8e42276c
commit 15260bcddf
1 changed files with 1 additions and 2 deletions

View File

@ -159,9 +159,8 @@ _item_selected(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED
config_save(config, NULL);
main_media_update(config);
}
else
else if (eina_stringshare_replace(&(config->background), item->path))
{
eina_stringshare_replace(&(config->background), item->path);
config_save(config, NULL);
main_media_update(config);
}