e17/conf_theme: show preview

SVN revision: 62917
This commit is contained in:
Hannes Janetzek 2011-08-28 13:25:56 +00:00
parent d88cfb437c
commit 49910d95f5
1 changed files with 1 additions and 0 deletions

View File

@ -447,6 +447,7 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
mh = (mw * z->h) / z->w;
oa = e_widget_aspect_add(evas, mw, mh);
o = e_widget_preview_add(evas, mw, mh);
evas_object_size_hint_min_set(o, mw, mh);
cfdata->o_preview = o;
if (cfdata->theme)
e_widget_preview_edje_set(o, cfdata->theme, "e/desktop/background");