forked from enlightenment/terminology
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:
parent
0a8e42276c
commit
15260bcddf
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue