aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2019-09-04 14:06:23 +0900
committerShinwoo Kim <cinoo.kim@samsung.com>2019-09-04 14:06:23 +0900
commitd61cf9df73083c01b9565e434b58c8822c404646 (patch)
tree323bbf533746eca6a0f54635bef1c74fcf6fd190
parentvg_common_svg : Initialize "display" attribute (diff)
downloadefl-devs/woohyun/raw_editable.tar.gz
efl_ui_timepicker: change a property name (ampm -> is_24hour)devs/woohyun/raw_editable
Summary: For better understanding of the property, "is_24hour" looks better than "ampm". @ref https://phab.enlightenment.org/T7901 Reviewers: zmike, segfaultxavi, bu5hm4n, kimcinoo Reviewed By: segfaultxavi, kimcinoo Subscribers: kimcinoo, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: https://phab.enlightenment.org/T7901 Differential Revision: https://phab.enlightenment.org/D9811
-rw-r--r--src/lib/elementary/efl_ui_timepicker.c4
-rw-r--r--src/lib/elementary/efl_ui_timepicker.eo2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_timepicker.c b/src/lib/elementary/efl_ui_timepicker.c
index 901678c48c..1aa5a9caae 100644
--- a/src/lib/elementary/efl_ui_timepicker.c
+++ b/src/lib/elementary/efl_ui_timepicker.c
@@ -245,7 +245,7 @@ _efl_ui_timepicker_time_get(const Eo *obj EINA_UNUSED, Efl_Ui_Timepicker_Data *p
}
EOLIAN static void
-_efl_ui_timepicker_ampm_set(Eo *obj, Efl_Ui_Timepicker_Data *pd, Eina_Bool is_24hour)
+_efl_ui_timepicker_is_24hour_set(Eo *obj, Efl_Ui_Timepicker_Data *pd, Eina_Bool is_24hour)
{
if (pd->is_24hour == is_24hour) return;
@@ -258,7 +258,7 @@ _efl_ui_timepicker_ampm_set(Eo *obj, Efl_Ui_Timepicker_Data *pd, Eina_Bool is_24
}
EOLIAN static Eina_Bool
-_efl_ui_timepicker_ampm_get(const Eo *obj EINA_UNUSED, Efl_Ui_Timepicker_Data *pd)
+_efl_ui_timepicker_is_24hour_get(const Eo *obj EINA_UNUSED, Efl_Ui_Timepicker_Data *pd)
{
return pd->is_24hour;
}
diff --git a/src/lib/elementary/efl_ui_timepicker.eo b/src/lib/elementary/efl_ui_timepicker.eo
index b71a9f5c2f..97d5bbdd5e 100644
--- a/src/lib/elementary/efl_ui_timepicker.eo
+++ b/src/lib/elementary/efl_ui_timepicker.eo
@@ -23,7 +23,7 @@ class @beta Efl.Ui.Timepicker extends Efl.Ui.Layout_Base
min: int; [[The minute value from 0 to 59.]]
}
}
- @property ampm {
+ @property is_24hour {
[[Control if the Timepicker displays 24 hour time or 12 hour time including AM/PM button.]]
set {
}