summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2015-09-23 12:45:56 +0530
committerAmitesh Singh <amitesh.sh@samsung.com>2015-09-26 10:16:24 +0530
commitb47a332cd2599f84334c3408676ec704a9361029 (patch)
tree3326e890ef353054cd9bdd0a6354659b9edf6db8
parent3cd14dd129da96b8920addc5c9cee452bf4e0e29 (diff)
gengrid: rename function _elm_gengrid_item_focus_raise to _elm_gengrid_item_focus_update
In function _elm_gengrid_item_focus_raise, we are doing more than just focus_raise. Rename it to something more meaningful.
-rw-r--r--src/lib/elm_gengrid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index 89d2b3a39..70f4f3f8a 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -1286,7 +1286,7 @@ _access_widget_item_register(Elm_Gen_Item *it)
1286} 1286}
1287 1287
1288static void 1288static void
1289_elm_gengrid_item_focus_raise(Elm_Gen_Item *it) 1289_elm_gengrid_item_focus_update(Elm_Gen_Item *it)
1290{ 1290{
1291 const char *focus_raise; 1291 const char *focus_raise;
1292 Evas_Object *obj = WIDGET(it); 1292 Evas_Object *obj = WIDGET(it);
@@ -1402,7 +1402,7 @@ _item_realize(Elm_Gen_Item *it)
1402 1402
1403 if (eo_it == sd->focused_item) 1403 if (eo_it == sd->focused_item)
1404 { 1404 {
1405 _elm_gengrid_item_focus_raise(it); 1405 _elm_gengrid_item_focus_update(it);
1406 _elm_widget_item_highlight_in_theme(WIDGET(it), EO_OBJ(it)); 1406 _elm_widget_item_highlight_in_theme(WIDGET(it), EO_OBJ(it));
1407 _elm_widget_highlight_in_theme_update(WIDGET(it)); 1407 _elm_widget_highlight_in_theme_update(WIDGET(it));
1408 _elm_widget_focus_highlight_start(WIDGET(it)); 1408 _elm_widget_focus_highlight_start(WIDGET(it));
@@ -2023,7 +2023,7 @@ _elm_gengrid_item_focused(Elm_Object_Item *eo_it)
2023 /* If item is not realized state, widget couldn't get focus_highlight data. */ 2023 /* If item is not realized state, widget couldn't get focus_highlight data. */
2024 if (it->realized) 2024 if (it->realized)
2025 { 2025 {
2026 _elm_gengrid_item_focus_raise(it); 2026 _elm_gengrid_item_focus_update(it);
2027 _elm_widget_item_highlight_in_theme(obj, eo_it); 2027 _elm_widget_item_highlight_in_theme(obj, eo_it);
2028 _elm_widget_highlight_in_theme_update(obj); 2028 _elm_widget_highlight_in_theme_update(obj);
2029 _elm_widget_focus_highlight_start(obj); 2029 _elm_widget_focus_highlight_start(obj);