summaryrefslogtreecommitdiff
path: root/src/edje_externals
diff options
context:
space:
mode:
authorSanjeev BA <eflelev8@gmail.com>2012-02-29 07:54:57 +0000
committerSanjeev BA <iamsanjeev@gmail.com>2012-02-29 07:54:57 +0000
commit26ce93d60327293539eaeb1362de20d4a193895b (patch)
tree607f34ce104354b0816c46a4e85db74676ab8559 /src/edje_externals
parent5ff07dd6043ff5fdd3da3d7208b2d4fc322f02f6 (diff)
Change enabled_get/set to disabled_get/set.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com> SVN revision: 68540
Diffstat (limited to 'src/edje_externals')
-rw-r--r--src/edje_externals/elm_calendar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/edje_externals/elm_calendar.c b/src/edje_externals/elm_calendar.c
index f48c07177..b0bed77b3 100644
--- a/src/edje_externals/elm_calendar.c
+++ b/src/edje_externals/elm_calendar.c
@@ -32,7 +32,7 @@ external_calendar_state_set(void *data __UNUSED__, Evas_Object *obj,
32 elm_calendar_min_max_year_set(obj, min, p->year_max); 32 elm_calendar_min_max_year_set(obj, min, p->year_max);
33 } 33 }
34 if (p->sel_exists) 34 if (p->sel_exists)
35 elm_calendar_day_selection_enabled_set(obj, p->sel_enable); 35 elm_calendar_day_selection_disabled_set(obj, !p->sel_enable);
36} 36}
37 37
38static Eina_Bool 38static Eina_Bool
@@ -63,7 +63,7 @@ external_calendar_param_set(void *data __UNUSED__, Evas_Object *obj,
63 { 63 {
64 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 64 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
65 { 65 {
66 elm_calendar_day_selection_enabled_set(obj,param->i ); 66 elm_calendar_day_selection_disabled_set(obj,!param->i );
67 return EINA_TRUE; 67 return EINA_TRUE;
68 } 68 }
69 } 69 }
@@ -100,7 +100,7 @@ external_calendar_param_get(void *data __UNUSED__, const Evas_Object *obj,
100 { 100 {
101 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 101 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
102 { 102 {
103 param->i = elm_calendar_day_selection_enabled_get(obj); 103 param->i = !elm_calendar_day_selection_disabled_get(obj);
104 return EINA_TRUE; 104 return EINA_TRUE;
105 } 105 }
106 } 106 }