summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2015-09-08 14:50:53 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-09-08 14:50:53 +0900
commit291b9ad97cf4619dffd9ffb7f92d2e8bf67d8249 (patch)
tree44401f992419303624e0c57b887a8983b2c3213c
parentc7a33b33f659256768b3f70295c1f67a994b59e8 (diff)
index: rename elm_index_priority_set to elm_index_standard_priority_set
this change is also for consistency with elm_toolbar_standard_priority_set conceptually the priority meaning here is same.
-rw-r--r--src/bin/test_index.c8
-rw-r--r--src/lib/elm_index.c4
-rw-r--r--src/lib/elm_index.eo4
3 files changed, 8 insertions, 8 deletions
diff --git a/src/bin/test_index.c b/src/bin/test_index.c
index cd0595450..085f8493d 100644
--- a/src/bin/test_index.c
+++ b/src/bin/test_index.c
@@ -443,14 +443,14 @@ _index_priority_change_cb(void *data, Evas_Object *obj EINA_UNUSED,
443 Evas_Object *index = data; 443 Evas_Object *index = data;
444 int priority; 444 int priority;
445 445
446 priority = elm_index_priority_get(index); 446 priority = elm_index_standard_priority_get(index);
447 447
448 if (priority == 0) 448 if (priority == 0)
449 elm_index_priority_set(index, 1); 449 elm_index_standard_priority_set(index, 1);
450 else 450 else
451 elm_index_priority_set(index, 0); 451 elm_index_standard_priority_set(index, 0);
452 452
453 printf("Priority changed to : %d\n", elm_index_priority_get(index)); 453 printf("Priority changed to : %d\n", elm_index_standard_priority_get(index));
454} 454}
455 455
456void 456void
diff --git a/src/lib/elm_index.c b/src/lib/elm_index.c
index ac6dea2a4..ed736bdcf 100644
--- a/src/lib/elm_index.c
+++ b/src/lib/elm_index.c
@@ -1613,7 +1613,7 @@ _elm_index_item_priority_set(Eo *eo_it EINA_UNUSED, Elm_Index_Item_Data *it, int
1613} 1613}
1614 1614
1615EOLIAN static void 1615EOLIAN static void
1616_elm_index_priority_set(Eo *obj, Elm_Index_Data *sd, int priority) 1616_elm_index_standard_priority_set(Eo *obj, Elm_Index_Data *sd, int priority)
1617{ 1617{
1618 if (priority < -1) 1618 if (priority < -1)
1619 { 1619 {
@@ -1631,7 +1631,7 @@ _elm_index_priority_set(Eo *obj, Elm_Index_Data *sd, int priority)
1631} 1631}
1632 1632
1633EOLIAN static int 1633EOLIAN static int
1634_elm_index_priority_get(Eo *obj EINA_UNUSED, Elm_Index_Data *sd) 1634_elm_index_standard_priority_get(Eo *obj EINA_UNUSED, Elm_Index_Data *sd)
1635{ 1635{
1636 return sd->show_group; 1636 return sd->show_group;
1637} 1637}
diff --git a/src/lib/elm_index.eo b/src/lib/elm_index.eo
index 1c08930dd..e51f779d3 100644
--- a/src/lib/elm_index.eo
+++ b/src/lib/elm_index.eo
@@ -24,8 +24,8 @@ class Elm.Index (Elm.Layout, Evas.Clickable_Interface, Evas.Selectable_Interface
24 enabled: bool; [[$true to enable omit feature, $false to disable]] 24 enabled: bool; [[$true to enable omit feature, $false to disable]]
25 } 25 }
26 } 26 }
27 @property priority { 27 @property standard_priority {
28 [[Control priority group of index. Priority group will be shown as many items as it can, and other group will be shown one character only. 28 [[Control standard_priority group of index. Priority group will be shown as many items as it can, and other group will be shown one character only.
29 29
30 @since 1.16]] 30 @since 1.16]]
31 set { 31 set {