ryuan pushed a commit to branch master.
commit 5b9bf87d99a77f820bb4538fbaee102cc93c3265
Author: Ryuan Choi <[email protected]>
Date: Thu Jun 6 07:51:44 2013 +0900
elm_clock : The step of hour decimal in editing mode should be 12 not to
touch hour unit.
---
ChangeLog | 4 ++++
NEWS | 1 +
src/lib/elm_clock.c | 4 ++--
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 32747d0..c118914 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1390,3 +1390,7 @@
2013-06-05 ChunEon Park (Hermet)
* Fix navifame to recover the focus for the prev page when top item is
deleted.
+
+2013-06-06 Ryuan Choi (ryuan)
+
+ * Up/down step of hour decimal of elm_clock is changed to 12 not to
touch hour unit at editing mode.
diff --git a/NEWS b/NEWS
index 5765b91..369b449 100644
--- a/NEWS
+++ b/NEWS
@@ -238,6 +238,7 @@ Fixes:
* Fix elm_mapbuf to be enabled before it's content is entirely rendered
once. this will reduce the cases that content is not updated in the screen.
* Fix elm_colorselector does not update color bar when picker changed color.
* Fix navifame to recover the focus for the prev page when top item is
deleted.
+ * Up/down step of hour decimal of elm_clock is changed to 12 not to touch
hour unit at editing mode.
Removals:
diff --git a/src/lib/elm_clock.c b/src/lib/elm_clock.c
index b49fea6..12887ca 100644
--- a/src/lib/elm_clock.c
+++ b/src/lib/elm_clock.c
@@ -31,7 +31,7 @@ _on_clock_val_up(void *data)
if (!sd->sel_obj) goto clock_val_up_cancel;
if (sd->sel_obj == sd->digit[0])
{
- sd->hrs = sd->hrs + 10;
+ sd->hrs = sd->hrs + 12;
if (sd->hrs >= 24) sd->hrs -= 24;
}
if (sd->sel_obj == sd->digit[1])
@@ -87,7 +87,7 @@ _on_clock_val_down(void *data)
if (!sd->sel_obj) goto clock_val_down_cancel;
if (sd->sel_obj == sd->digit[0])
{
- sd->hrs = sd->hrs - 10;
+ sd->hrs = sd->hrs - 12;
if (sd->hrs < 0) sd->hrs += 24;
}
if (sd->sel_obj == sd->digit[1])
--
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j