summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-10-19 11:41:14 -0700
committerCedric BAIL <cedric@osg.samsung.com>2015-10-19 11:55:30 -0700
commit7985c894598e9dfd0639ac33ea5cdbd1d363b5d8 (patch)
treed8609e8b673a901bcfeade79b821286c4d046f8f /src/lib
parentd88cbf20c919aae1122e936819c06b19f99774ee (diff)
hoversel: rename label_auto_changed -> auto_update
Thanks to Davide Andreoli for his review and suggestion.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elc_hoversel.c10
-rw-r--r--src/lib/elm_hoversel.eo4
-rw-r--r--src/lib/elm_widget_hoversel.h2
3 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/elc_hoversel.c b/src/lib/elc_hoversel.c
index 2079e99c2..1969f400d 100644
--- a/src/lib/elc_hoversel.c
+++ b/src/lib/elc_hoversel.c
@@ -120,7 +120,7 @@ _on_item_clicked(void *data EINA_UNUSED,
120 if (item->func) item->func((void *)WIDGET_ITEM_DATA_GET(eo_it), obj2, eo_it); 120 if (item->func) item->func((void *)WIDGET_ITEM_DATA_GET(eo_it), obj2, eo_it);
121 eo_do(obj2, eo_event_callback_call(EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, eo_it)); 121 eo_do(obj2, eo_event_callback_call(EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, eo_it));
122 122
123 if (sd->auto_changed) 123 if (sd->auto_update)
124 { 124 {
125 Evas_Object *ic; 125 Evas_Object *ic;
126 126
@@ -982,15 +982,15 @@ _elm_hoversel_scrollable_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd)
982} 982}
983 983
984EOLIAN void 984EOLIAN void
985_elm_hoversel_label_auto_changed_set(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd, Eina_Bool auto_changed) 985_elm_hoversel_auto_update_set(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd, Eina_Bool auto_update)
986{ 986{
987 sd->auto_changed = !!auto_changed; 987 sd->auto_update = !!auto_update;
988} 988}
989 989
990EOLIAN Eina_Bool 990EOLIAN Eina_Bool
991_elm_hoversel_label_auto_changed_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd) 991_elm_hoversel_auto_update_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd)
992{ 992{
993 return sd->auto_changed; 993 return sd->auto_update;
994} 994}
995 995
996#include "elm_hoversel_item.eo.c" 996#include "elm_hoversel_item.eo.c"
diff --git a/src/lib/elm_hoversel.eo b/src/lib/elm_hoversel.eo
index ca24396b7..b537ed1c9 100644
--- a/src/lib/elm_hoversel.eo
+++ b/src/lib/elm_hoversel.eo
@@ -57,14 +57,14 @@ class Elm.Hoversel (Elm.Button, Evas.Selectable_Interface,
57 scrollable: bool; [[$true if scrollable $false otherwise.]] 57 scrollable: bool; [[$true if scrollable $false otherwise.]]
58 } 58 }
59 } 59 }
60 @property label_auto_changed { 60 @property auto_update {
61 [[Change the label of hoversel to that of selected item automatically.]] 61 [[Change the label of hoversel to that of selected item automatically.]]
62 get{ 62 get{
63 } 63 }
64 set{ 64 set{
65 } 65 }
66 values { 66 values {
67 auto_changed: bool; [[$true if the label is changed automatically or $false otherwise]] 67 auto_update: bool; [[$true if the label is changed automatically or $false otherwise]]
68 } 68 }
69 } 69 }
70 hover_begin { 70 hover_begin {
diff --git a/src/lib/elm_widget_hoversel.h b/src/lib/elm_widget_hoversel.h
index 2b977281a..36aa5b27b 100644
--- a/src/lib/elm_widget_hoversel.h
+++ b/src/lib/elm_widget_hoversel.h
@@ -42,7 +42,7 @@ struct _Elm_Hoversel_Data
42 Eina_Bool horizontal : 1; 42 Eina_Bool horizontal : 1;
43 Eina_Bool expanded : 1; 43 Eina_Bool expanded : 1;
44 Eina_Bool scroll_enabled: 1; 44 Eina_Bool scroll_enabled: 1;
45 Eina_Bool auto_changed : 1; 45 Eina_Bool auto_update : 1;
46}; 46};
47 47
48typedef struct _Elm_Hoversel_Item_Data Elm_Hoversel_Item_Data; 48typedef struct _Elm_Hoversel_Item_Data Elm_Hoversel_Item_Data;