forked from enlightenment/enlightenment
e: fix changing custom background on desklock
SVN revision: 73618
This commit is contained in:
parent
499a0cd5a7
commit
01851d2824
|
@ -91,7 +91,7 @@ e_int_config_desklock_fsel_done(E_Config_Dialog *cfd, Evas_Object *bg, const cha
|
||||||
if (!bg_file) return;
|
if (!bg_file) return;
|
||||||
e_widget_preview_file_get(bg, &cbg, NULL);
|
e_widget_preview_file_get(bg, &cbg, NULL);
|
||||||
l = eina_list_data_find_list(cfdata->bgs, cbg);
|
l = eina_list_data_find_list(cfdata->bgs, cbg);
|
||||||
if (l->data)
|
if (l && l->data)
|
||||||
eina_stringshare_replace((const char**)&l->data, bg_file);
|
eina_stringshare_replace((const char**)&l->data, bg_file);
|
||||||
else
|
else
|
||||||
eina_list_data_set(l, eina_stringshare_add(bg_file));
|
eina_list_data_set(l, eina_stringshare_add(bg_file));
|
||||||
|
|
Loading…
Reference in New Issue