[edc] Fix edc runtime errors. 70/126670/1
authorKamil Lipiszko <k.lipiszko@samsung.com>
Mon, 24 Apr 2017 14:14:58 +0000 (16:14 +0200)
committerKamil Lipiszko <k.lipiszko@samsung.com>
Mon, 24 Apr 2017 14:14:58 +0000 (16:14 +0200)
Fix misspelling and missing description that caused showing up
errors. Replaced ":" with "." in lap time counter.

Change-Id: I057ad31907c881676a048879a02f23f9ed91ed1f

clock/res/edje/Counter.edc
clock/res/edje/StopWatch.edc
clock/src/View/CounterView.cpp

index 8f90c0d997218c30b9a15344ae09efef78f70289..355baa10d7cdcf749b3a315931cbf3fde7c012fa 100644 (file)
@@ -163,6 +163,9 @@ collections {
                                        }
                                        vis;
                                }
+                               desc { "lap.default";
+                                       inherit: "default";
+                               }
                        }
                        program {
                                signal: "counter,stopwatch,set";
index a0e64fbba821118d5f8ce863a4fe3c78f250fd28..de7fbaa76333fbf710ab6e8c58db8d8d174865a8 100644 (file)
@@ -189,7 +189,7 @@ collections {
                                        set_state(PART:"sw.btn.stop", "default", 0.0);
                                        set_state(PART:"sw.btn.lap", "default", 0.0);
                                        set_state(PART:"sw.btn.resume", "default", 0.0);
-                                       set_state(PART:"sw.btn.reset", "defualt", 0.0);
+                                       set_state(PART:"sw.btn.reset", "default", 0.0);
                                        set_state(PART:"sw.btn.start", "default", 0.0);
                                }
                        }
index 896abb0b939ee330130bd44a8f875b86bf524a8d..f79dccb5cff2b4396195def28db11433fe1b2411 100644 (file)
@@ -123,7 +123,7 @@ void CounterView::DisplayTime(int hour, int min, int sec, int msec)
                subtext << "." << (msec < 10 ? "0" : "") << msec;
                elm_object_part_text_set(layout_, "txt.ms", subtext.str().c_str());
        } else if (type_ == CounterType::COUNTER_TYPE_LAP) {
-               text << ":" << (msec < 10 ? "0" : "") << msec;
+               text << "." << (msec < 10 ? "0" : "") << msec;
        }
 
        elm_object_part_text_set(layout_, "txt.main", text.str().c_str());