bin: avoid direct type the app name.

This commit is contained in:
Hermet 2015-02-14 13:09:48 +09:00
parent 17d7879eea
commit fb6c3be3c2
2 changed files with 2 additions and 2 deletions

View File

@ -447,7 +447,7 @@ color_ctxpopup_create(Evas_Object *parent,
elm_config_focus_autoscroll_mode_set(ELM_FOCUS_AUTOSCROLL_MODE_NONE);
elm_object_style_set(ctxpopup, "enventor");
elm_object_style_set(ctxpopup, elm_app_name_get());
evas_object_data_set(ctxpopup, "color_keyword", selected_color_keyword);
elm_ctxpopup_direction_priority_set(ctxpopup, ELM_CTXPOPUP_DIRECTION_RIGHT,
ELM_CTXPOPUP_DIRECTION_LEFT,

View File

@ -96,7 +96,7 @@ tools_btn_create(Evas_Object *parent, const char *icon, const char *label,
const char *tooltip_msg, Evas_Smart_Cb func, void *data)
{
Evas_Object *btn = elm_button_add(parent);
elm_object_style_set(btn, "enventor");
elm_object_style_set(btn, elm_app_name_get());
elm_object_focus_allow_set(btn, EINA_FALSE);
elm_object_tooltip_text_set(btn, tooltip_msg);
elm_object_tooltip_orient_set(btn, ELM_TOOLTIP_ORIENT_BOTTOM);