summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-05-29 09:17:12 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-29 12:29:03 -0400
commit396f150fb48c17394c52f9849659b764f9fa7f01 (patch)
tree3a4f8ff1c1a8951e9baafc6753878546d2c65e31
parent82697854b3841ce1ab851d913329d400ca0ef77a (diff)
elm/diskselector: trigger sizing eval during theme set only if finalized
Summary: this can't be successfully completed until the object has been fully constructed @fix Depends on D8957 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8958
-rw-r--r--src/lib/elementary/elm_diskselector.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_diskselector.c b/src/lib/elementary/elm_diskselector.c
index bcbcffb4a6..3679ad65f8 100644
--- a/src/lib/elementary/elm_diskselector.c
+++ b/src/lib/elementary/elm_diskselector.c
@@ -862,8 +862,11 @@ _elm_diskselector_efl_ui_widget_theme_apply(Eo *obj, Elm_Diskselector_Data *sd)
862 } 862 }
863 } 863 }
864 864
865 _theme_data_get(obj); 865 if (efl_finalized_get(obj))
866 _sizing_eval(obj); 866 {
867 _theme_data_get(obj);
868 _sizing_eval(obj);
869 }
867 870
868 evas_event_thaw(evas); 871 evas_event_thaw(evas);
869 evas_event_thaw_eval(evas); 872 evas_event_thaw_eval(evas);