[atomix] Left-align the clock widget



commit cad78a036e55bce9e8c20c3831cb4747a074aab6
Author: Robert Roth <robert roth off gmail com>
Date:   Sun Jan 18 11:34:45 2015 +0200

    Left-align the clock widget

 src/clock.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/clock.c b/src/clock.c
index e56d777..d51deec 100644
--- a/src/clock.c
+++ b/src/clock.c
@@ -90,6 +90,7 @@ static void clock_gen_str (Clock *clock)
 
   strftime (timestr, 64, clock->fmt, clock->tm);
   gtk_label_set_text (GTK_LABEL (clock), timestr);
+  gtk_widget_set_halign (GTK_WIDGET (clock), GTK_ALIGN_START);
 }
 
 static gint clock_timer_callback (gpointer data)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]