forked from enlightenment/enventor
bin: avoid direct type the app name.
This commit is contained in:
parent
17d7879eea
commit
fb6c3be3c2
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue