forked from enlightenment/efl
elementary/naviframe - removed unproper method.
user needs to set their own style. SVN revision: 63380
This commit is contained in:
parent
8d780ef4b5
commit
d2c98216bc
|
@ -523,14 +523,6 @@ _title_prev_btn_set(Elm_Naviframe_Item *it, Evas_Object *btn, Eina_Bool back_btn
|
||||||
|
|
||||||
if (!btn) return;
|
if (!btn) return;
|
||||||
|
|
||||||
if (!back_btn)
|
|
||||||
{
|
|
||||||
snprintf(buf,
|
|
||||||
sizeof(buf),
|
|
||||||
"naviframe/prev_btn/%s",
|
|
||||||
elm_widget_style_get(it->base.widget));
|
|
||||||
elm_object_style_set(btn, buf);
|
|
||||||
}
|
|
||||||
elm_widget_sub_object_add(it->base.widget, btn);
|
elm_widget_sub_object_add(it->base.widget, btn);
|
||||||
evas_object_event_callback_add(btn,
|
evas_object_event_callback_add(btn,
|
||||||
EVAS_CALLBACK_DEL,
|
EVAS_CALLBACK_DEL,
|
||||||
|
@ -556,10 +548,6 @@ _title_next_btn_set(Elm_Naviframe_Item *it, Evas_Object *btn)
|
||||||
|
|
||||||
if (!btn) return;
|
if (!btn) return;
|
||||||
|
|
||||||
snprintf(buf,
|
|
||||||
sizeof(buf),
|
|
||||||
"naviframe/next_btn/%s",
|
|
||||||
elm_widget_style_get(it->base.widget));
|
|
||||||
elm_object_style_set(btn, buf);
|
elm_object_style_set(btn, buf);
|
||||||
elm_widget_sub_object_add(it->base.widget, btn);
|
elm_widget_sub_object_add(it->base.widget, btn);
|
||||||
evas_object_event_callback_add(btn,
|
evas_object_event_callback_add(btn,
|
||||||
|
|
Loading…
Reference in New Issue