hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=291b9ad97cf4619dffd9ffb7f92d2e8bf67d8249

commit 291b9ad97cf4619dffd9ffb7f92d2e8bf67d8249
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Tue Sep 8 14:50:53 2015 +0900

    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.
---
 src/bin/test_index.c | 8 ++++----
 src/lib/elm_index.c  | 4 ++--
 src/lib/elm_index.eo | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/bin/test_index.c b/src/bin/test_index.c
index cd05954..085f849 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,
    Evas_Object *index = data;
    int priority;
 
-   priority = elm_index_priority_get(index);
+   priority = elm_index_standard_priority_get(index);
 
    if (priority == 0)
-     elm_index_priority_set(index, 1);
+     elm_index_standard_priority_set(index, 1);
    else
-     elm_index_priority_set(index, 0);
+     elm_index_standard_priority_set(index, 0);
 
-   printf("Priority changed to : %d\n", elm_index_priority_get(index));
+   printf("Priority changed to : %d\n", 
elm_index_standard_priority_get(index));
 }
 
 void
diff --git a/src/lib/elm_index.c b/src/lib/elm_index.c
index ac6dea2..ed736bd 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
 }
 
 EOLIAN static void
-_elm_index_priority_set(Eo *obj, Elm_Index_Data *sd, int priority)
+_elm_index_standard_priority_set(Eo *obj, Elm_Index_Data *sd, int priority)
 {
    if (priority < -1)
      {
@@ -1631,7 +1631,7 @@ _elm_index_priority_set(Eo *obj, Elm_Index_Data *sd, int 
priority)
 }
 
 EOLIAN static int
-_elm_index_priority_get(Eo *obj EINA_UNUSED, Elm_Index_Data *sd)
+_elm_index_standard_priority_get(Eo *obj EINA_UNUSED, Elm_Index_Data *sd)
 {
    return sd->show_group;
 }
diff --git a/src/lib/elm_index.eo b/src/lib/elm_index.eo
index 1c08930..e51f779 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
             enabled: bool; [[$true to enable omit feature, $false to disable]]
          }
       }
-      @property priority {
-         [[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.
+      @property standard_priority {
+         [[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.
 
            @since 1.16]]
          set {

-- 


Reply via email to