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
devs/discomfitor/cc
Wonguk Jeong 9 years ago
parent 0a8e42276c
commit 15260bcddf
  1. 3
      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);
}

Loading…
Cancel
Save