wallpaper: if previous advanced basic apply follows advanced setting.

Summary:
Previously if you had different wallpapers on different screens
then came back to the settings and changed the wallpaper ALL
screens would be set, and the painstaking work of setting
various wallpapers across desktops/screens is lost instantly.

This patch avoids this annoyance.

Reviewers: raster, zmike!, devilhorns

Reviewed By: raster

Subscribers: cedric

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D7141
This commit is contained in:
Alastair Poole 2018-10-04 11:54:27 +01:00
parent a037001031
commit 03a4b78934
1 changed files with 4 additions and 0 deletions

View File

@ -519,6 +519,10 @@ _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
E_Config_Wallpaper *cw;
if (!cfdata->bg) return 0;
if (cfdata->all_this_desk_screen != 0)
return _adv_apply(cfd, cfdata);
cw = cfd->data;
if ((!eina_str_has_extension(cfdata->bg, ".edj")) &&
(!eina_str_has_extension(cfdata->bg, ".gif")) &&