Center the text
authorEnrico Zini <enrico@enricozini.org>
Mon, 17 Aug 2009 17:17:50 +0000 (18:17 +0100)
committerEnrico Zini <enrico@enricozini.org>
Mon, 17 Aug 2009 17:17:50 +0000 (18:17 +0100)
src/app_main.vala
src/zavai.vala

index db4bd580e6f925415117426e27dd0a84b56f45bd..1e62b2f295d1bf618a1aee0d106f3652df5963cf 100644 (file)
@@ -58,6 +58,7 @@ public class Clock : Gtk.VBox
         pack_start(l_time, false, false, 0);
         l_deadline = new Gtk.Label("");
         l_deadline.modify_font(Pango.FontDescription.from_string("Sans 30"));
+        l_deadline.set_justify(Gtk.Justification.CENTER);
         pack_start(l_deadline, false, false, 0);
 
         zavai.clock.clock.minute_changed += on_minute_changed;
index 29c92e005d372097fba924f5f4150865cd5f5b9c..c01452a4b4a088c7620e33900e28510d06a660e4 100644 (file)
@@ -76,7 +76,7 @@ static int main (string[] args) {
 
        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.clock.clock.schedule(new zavai.clock.Alarm(time_t() + 30, "Test third"));
+       zavai.clock.clock.schedule(new zavai.clock.Alarm(time_t() + 300, "Test third"));
 
        //zavai.ui.power.power_menu.toggle();