summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2014-03-25 15:55:53 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-03-25 16:03:38 +0900
commitc1ba3a1dfae0904eb032848bd786880a80ad835b (patch)
treeab31ea90a39273c0c466e7fa103cff2e44db6279
parentcd38a6a2c6da710f7799321fc8e4d4a708cd397d (diff)
toolbar - fixed to use elm apis for elm objects
-rw-r--r--src/lib/elm_toolbar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index 938b0242e..d142a2762 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -1171,9 +1171,9 @@ _elm_toolbar_smart_theme(Eo *obj, void *_pd, va_list *list)
1171 (sd->more, "toolbar", "more", elm_widget_style_get(obj))) 1171 (sd->more, "toolbar", "more", elm_widget_style_get(obj)))
1172 CRI("Failed to set layout!"); 1172 CRI("Failed to set layout!");
1173 if (sd->vertical) 1173 if (sd->vertical)
1174 edje_object_signal_emit(sd->more, "elm,orient,vertical", "elm"); 1174 elm_object_signal_emit(sd->more, "elm,orient,vertical", "elm");
1175 else 1175 else
1176 edje_object_signal_emit(sd->more, "elm,orient,horizontal", "elm"); 1176 elm_object_signal_emit(sd->more, "elm,orient,horizontal", "elm");
1177 1177
1178 _mirrored_set(obj, elm_widget_mirrored_get(obj)); 1178 _mirrored_set(obj, elm_widget_mirrored_get(obj));
1179 1179
@@ -2540,9 +2540,9 @@ _elm_toolbar_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
2540 if (!elm_layout_theme_set(priv->more, "toolbar", "more", "default")) 2540 if (!elm_layout_theme_set(priv->more, "toolbar", "more", "default"))
2541 CRI("Failed to set layout!"); 2541 CRI("Failed to set layout!");
2542 if (priv->vertical) 2542 if (priv->vertical)
2543 edje_object_signal_emit(priv->more, "elm,orient,vertical", "elm"); 2543 elm_object_signal_emit(priv->more, "elm,orient,vertical", "elm");
2544 else 2544 else
2545 edje_object_signal_emit(priv->more, "elm,orient,horizontal", "elm"); 2545 elm_object_signal_emit(priv->more, "elm,orient,horizontal", "elm");
2546 2546
2547 elm_widget_sub_object_add(obj, priv->more); 2547 elm_widget_sub_object_add(obj, priv->more);
2548 evas_object_show(priv->more); 2548 evas_object_show(priv->more);