It works now, python-rtc was missing
authorEnrico Zini <enrico@enricozini.org>
Wed, 19 Aug 2009 14:57:54 +0000 (15:57 +0100)
committerEnrico Zini <enrico@enricozini.org>
Wed, 19 Aug 2009 14:57:54 +0000 (15:57 +0100)
src/clock.vala

index 66a2d866370424bef35b4886978161bfefdc099e..f27570c28e5c29666c8d509374628f9e2b6bad02 100644 (file)
@@ -136,10 +136,10 @@ public class Clock: zavai.Service
                 zavai.log.error("Cannot reschedule alarms: " + e.message);
             }
 
-string t = rtc.GetCurrentTime();
-stderr.printf("Current time: %d, RTC time: %s\n", (int)time_t(), t);
-t = rtc.GetWakeupTime();
-stderr.printf("Scheduled alarm: %d, RTC wakeup time: %s\n", (int)alarms.data.deadline, t);
+//string t = rtc.GetCurrentTime();
+//stderr.printf("Current time: %d, RTC time: %s\n", (int)time_t(), t);
+//t = rtc.GetWakeupTime();
+//stderr.printf("Scheduled alarm: %d, RTC wakeup time: %s\n", (int)alarms.data.deadline, t);
         } else
             zavai.log.info("No alarms left to reschedule");
         schedule_changed();