summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-11-10 11:52:04 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-11-18 11:46:05 -0500
commit25ae14416cb7d1655f04b9dbd51c75e1c907e7e5 (patch)
tree634ccdc3ccad1017e9fd279581593f610fec590f
parentd0419e937ca49858be9244f17a9ceccfbcc2bd14 (diff)
send orientation signal to bryce scroller theme
-rw-r--r--src/bin/e_bryce.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c
index 098cabfc4..a721ab2ad 100644
--- a/src/bin/e_bryce.c
+++ b/src/bin/e_bryce.c
@@ -863,9 +863,15 @@ _bryce_orient(Bryce *b)
863 elm_object_content_set(b->scroller, b->site); 863 elm_object_content_set(b->scroller, b->site);
864 e_gadget_site_owner_setup(b->site, b->anchor, _bryce_style); 864 e_gadget_site_owner_setup(b->site, b->anchor, _bryce_style);
865 if (b->orient == E_GADGET_SITE_ORIENT_HORIZONTAL) 865 if (b->orient == E_GADGET_SITE_ORIENT_HORIZONTAL)
866 elm_layout_signal_emit(b->layout, "e,state,orient,horizontal", "e"); 866 {
867 elm_layout_signal_emit(b->layout, "e,state,orient,horizontal", "e");
868 elm_layout_signal_emit(b->scroller, "e,state,orient,horizontal", "e");
869 }
867 else 870 else
868 elm_layout_signal_emit(b->layout, "e,state,orient,vertical", "e"); 871 {
872 elm_layout_signal_emit(b->layout, "e,state,orient,vertical", "e");
873 elm_layout_signal_emit(b->scroller, "e,state,orient,vertical", "e");
874 }
869 evas_object_event_callback_add(b->site, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _bryce_site_hints, b); 875 evas_object_event_callback_add(b->site, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _bryce_site_hints, b);
870 evas_object_smart_callback_add(b->site, "gadget_site_anchor", _bryce_site_anchor, b); 876 evas_object_smart_callback_add(b->site, "gadget_site_anchor", _bryce_site_anchor, b);
871 evas_object_smart_callback_add(b->site, "gadget_site_style_menu", _bryce_style_menu, b); 877 evas_object_smart_callback_add(b->site, "gadget_site_style_menu", _bryce_style_menu, b);