diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-11-10 11:52:04 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-11-10 11:52:04 -0500 |
commit | 7d29dbf4ec5adb2652b942464f892b4c6f6a19da (patch) | |
tree | 98b7982ee72c30320e264e8092d13d8fb0e37beb | |
parent | 50198ecdde7a9bc477537df6a8fafa60be2cfb51 (diff) | |
download | enlightenment-7d29dbf4ec5adb2652b942464f892b4c6f6a19da.tar.gz |
send orientation signal to bryce scroller theme
-rw-r--r-- | src/bin/e_bryce.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c index d7e71e13ab..47afa715a9 100644 --- a/src/bin/e_bryce.c +++ b/src/bin/e_bryce.c @@ -864,9 +864,15 @@ _bryce_orient(Bryce *b) elm_object_content_set(b->scroller, b->site); e_gadget_site_owner_setup(b->site, b->anchor, _bryce_style); if (b->orient == E_GADGET_SITE_ORIENT_HORIZONTAL) - elm_layout_signal_emit(b->layout, "e,state,orient,horizontal", "e"); + { + elm_layout_signal_emit(b->layout, "e,state,orient,horizontal", "e"); + elm_layout_signal_emit(b->scroller, "e,state,orient,horizontal", "e"); + } else - elm_layout_signal_emit(b->layout, "e,state,orient,vertical", "e"); + { + elm_layout_signal_emit(b->layout, "e,state,orient,vertical", "e"); + elm_layout_signal_emit(b->scroller, "e,state,orient,vertical", "e"); + } evas_object_event_callback_add(b->site, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _bryce_site_hints, b); evas_object_smart_callback_add(b->site, "gadget_site_anchor", _bryce_site_anchor, b); evas_object_smart_callback_add(b->site, "gadget_site_style_menu", _bryce_style_menu, b); |