From: seoz Date: Thu, 10 Mar 2011 19:59:10 +0000 (+0000) Subject: Elementary elm_genlist.c: Fixed typo. (hilight -> highlight) X-Git-Tag: REL_F_I9500_20120323_1~17^2~3055 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e6ad9b7e8b7460717a1785bad352f18685254dd7;p=framework%2Fuifw%2Felementary.git Elementary elm_genlist.c: Fixed typo. (hilight -> highlight) git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@57679 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 2d32454..321a5e1 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -402,7 +402,7 @@ struct _Elm_Genlist_Item Eina_Bool want_realize : 1; Eina_Bool realized : 1; Eina_Bool selected : 1; - Eina_Bool hilighted : 1; + Eina_Bool highlighted : 1; Eina_Bool expanded : 1; Eina_Bool disabled : 1; Eina_Bool display_only : 1; @@ -831,10 +831,10 @@ _sizing_eval(Evas_Object *obj) } static void -_item_hilight(Elm_Genlist_Item *it) +_item_highlight(Elm_Genlist_Item *it) { const char *selectraise; - if ((it->wd->no_select) || (it->delete_me) || (it->hilighted) || (it->disabled) || (it->display_only)) return; + if ((it->wd->no_select) || (it->delete_me) || (it->highlighted) || (it->disabled) || (it->display_only)) return; edje_object_signal_emit(it->base.view, "elm,state,selected", "elm"); selectraise = edje_object_data_get(it->base.view, "selectraise"); if ((selectraise) && (!strcmp(selectraise, "on"))) @@ -843,7 +843,7 @@ _item_hilight(Elm_Genlist_Item *it) if ((it->group_item) && (it->group_item->realized)) evas_object_raise(it->group_item->base.view); } - it->hilighted = EINA_TRUE; + it->highlighted = EINA_TRUE; } static void @@ -982,7 +982,7 @@ _item_unselect(Elm_Genlist_Item *it) { const char *stacking, *selectraise; - if ((it->delete_me) || (!it->hilighted)) return; + if ((it->delete_me) || (!it->highlighted)) return; edje_object_signal_emit(it->base.view, "elm,state,unselected", "elm"); stacking = edje_object_data_get(it->base.view, "stacking"); selectraise = edje_object_data_get(it->base.view, "selectraise"); @@ -991,7 +991,7 @@ _item_unselect(Elm_Genlist_Item *it) if ((stacking) && (!strcmp(stacking, "below"))) evas_object_lower(it->base.view); } - it->hilighted = EINA_FALSE; + it->highlighted = EINA_FALSE; if (it->selected) { it->selected = EINA_FALSE; @@ -1332,7 +1332,7 @@ _mouse_down(void *data, else it->wd->on_hold = EINA_FALSE; if (it->wd->on_hold) return; it->wd->wasselected = it->selected; - _item_hilight(it); + _item_highlight(it); if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK) if ((!it->disabled) && (!it->display_only)) evas_object_smart_callback_call(it->base.widget, "clicked", it); @@ -1421,7 +1421,7 @@ _mouse_up(void *data, { if (!it->selected) { - _item_hilight(it); + _item_highlight(it); _item_select(it); } else _item_unselect(it); @@ -1443,10 +1443,10 @@ _mouse_up(void *data, EINA_LIST_FOREACH_SAFE(it->wd->selected, l, l_next, it2) if (it2 != it) _item_unselect(it2); - //_item_hilight(it); + //_item_highlight(it); //_item_select(it); } - _item_hilight(it); + _item_highlight(it); _item_select(it); } } @@ -3600,7 +3600,7 @@ elm_genlist_item_selected_set(Elm_Genlist_Item *it, while (wd->selected) _item_unselect(wd->selected->data); } - _item_hilight(it); + _item_highlight(it); _item_select(it); } else