More test
authorEnrico Zini <enrico@enricozini.org>
Mon, 17 Aug 2009 15:52:44 +0000 (16:52 +0100)
committerEnrico Zini <enrico@enricozini.org>
Mon, 17 Aug 2009 15:52:44 +0000 (16:52 +0100)
src/clock.vala
src/zavai.vala

index 55dadd6c2f86cd49634969f5fbcee77e7008780d..8504f918b717120f770fd0716da0c67006357e0f 100644 (file)
@@ -122,6 +122,7 @@ public class Clock: zavai.Service
 
     private void on_alarm()
     {
+stderr.printf("ON ALARM\n");
         check_alarms();
     }
 
index a392a0af79b39c4e5f24029feac4bc67f9e64596..956d21213d2338cbceb7b9952029c7f4547422f6 100644 (file)
@@ -74,8 +74,8 @@ static int main (string[] args) {
        //zavai.app.show_applet("menu.main");
        zavai.app.show_applet("zavai.status");
 
-       zavai.clock.clock.schedule(new zavai.clock.Alarm(time_t() + 3, "Test second"));
-       zavai.clock.clock.schedule(new zavai.clock.Alarm(time_t() + 2, "Test first"));
+       zavai.clock.clock.schedule(new zavai.clock.Alarm(time_t() + 10, "Test second"));
+       zavai.clock.clock.schedule(new zavai.clock.Alarm(time_t() + 5, "Test first"));
 
        //zavai.ui.power.power_menu.toggle();