[gnome-clocks] Add missing Sunrise Label
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Add missing Sunrise Label
- Date: Fri, 17 Aug 2012 09:53:48 +0000 (UTC)
commit dd81bc1d76b511754b520fcb8fc1f369e2319f8f
Author: Seif Lotfy <seif lotfy com>
Date: Fri Aug 17 11:52:40 2012 +0200
Add missing Sunrise Label
Fixed bug 682078, turns out sunrise_label was being overwritten
gnomeclocks/widgets.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomeclocks/widgets.py b/gnomeclocks/widgets.py
index c6dce25..e0d3921 100644
--- a/gnomeclocks/widgets.py
+++ b/gnomeclocks/widgets.py
@@ -209,15 +209,15 @@ class DigitalClockStandalone (Gtk.VBox):
sunrise_label = Gtk.Label ()
sunrise_label.set_markup("<span size ='large' color='dimgray'>%s</span>" % (_("Sunrise")))
- self.sunrise_time_label = Gtk.Label ()
sunrise_label.set_alignment (1.0, 0.5)
+ self.sunrise_time_label = Gtk.Label ()
self.sunrise_time_label.set_alignment (0.0, 0.5)
sunrise_hbox = Gtk.Box (True, 9)
sunrise_hbox.pack_start (sunrise_label, False, False, 0)
sunrise_hbox.pack_start (self.sunrise_time_label, False, False, 0)
sunset_label = Gtk.Label ()
- sunrise_label.set_markup("<span size ='large' color='dimgray'>%s</span>" % (_("Sunset")))
+ sunset_label.set_markup("<span size ='large' color='dimgray'>%s</span>" % (_("Sunset")))
sunset_label.set_alignment (1.0, 0.5)
self.sunset_time_label = Gtk.Label ()
self.sunset_time_label.set_alignment (0.0, 0.5)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]