summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@enlightenment.org>2013-11-21 17:46:56 -0500
committerMike Blumenkrantz <zmike@enlightenment.org>2013-11-21 17:46:56 -0500
commite3b65f1cbbd2d4a4d9b2ac2f4394974d01322d8c (patch)
tree591bdb0b69b76cdafc00296c24cf8417895a202f
parentf43c8548e6bb5733fe4344e4045a0c4f24a12e8d (diff)
show wallpaper preview in config dialog
T417
-rw-r--r--src/modules/conf_theme/e_int_config_wallpaper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/conf_theme/e_int_config_wallpaper.c b/src/modules/conf_theme/e_int_config_wallpaper.c
index b49b0ce27..c35e6d2be 100644
--- a/src/modules/conf_theme/e_int_config_wallpaper.c
+++ b/src/modules/conf_theme/e_int_config_wallpaper.c
@@ -476,6 +476,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
476 oa = e_widget_aspect_add(evas, mw, mh); 476 oa = e_widget_aspect_add(evas, mw, mh);
477 ow = e_widget_preview_add(evas, mw, mh); 477 ow = e_widget_preview_add(evas, mw, mh);
478 evas_object_size_hint_min_set(ow, mw, mh); 478 evas_object_size_hint_min_set(ow, mw, mh);
479 evas_object_show(ow);
479 cfdata->o_preview = ow; 480 cfdata->o_preview = ow;
480 _bg_set(cfdata); 481 _bg_set(cfdata);
481 e_widget_aspect_child_set(oa, ow); 482 e_widget_aspect_child_set(oa, ow);
@@ -622,6 +623,7 @@ _adv_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
622 mh = (320 * zone->h) / zone->w; 623 mh = (320 * zone->h) / zone->w;
623 oa = e_widget_aspect_add(evas, mw, mh); 624 oa = e_widget_aspect_add(evas, mw, mh);
624 ow = e_widget_preview_add(evas, mw, mh); 625 ow = e_widget_preview_add(evas, mw, mh);
626 evas_object_show(ow);
625 evas_object_size_hint_min_set(ow, mw, mh); 627 evas_object_size_hint_min_set(ow, mw, mh);
626 evas_object_size_hint_aspect_set(ow, EVAS_ASPECT_CONTROL_BOTH, zone->w, zone->h); 628 evas_object_size_hint_aspect_set(ow, EVAS_ASPECT_CONTROL_BOTH, zone->w, zone->h);
627 cfdata->o_preview = ow; 629 cfdata->o_preview = ow;