From 15260bcddf92456aea893efce7da58738087198d Mon Sep 17 00:00:00 2001 From: Wonguk Jeong Date: Thu, 31 Jul 2014 20:16:29 +0200 Subject: [PATCH] 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 --- src/bin/options_wallpaper.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/options_wallpaper.c b/src/bin/options_wallpaper.c index 129ae3d4..0bfb38ba 100644 --- a/src/bin/options_wallpaper.c +++ b/src/bin/options_wallpaper.c @@ -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); }