[gnome-clocks] Fixed Reset/Lap Button in Stopwatch



commit 7ab5468cbb7bc7d1ad37dc60bb5314a74794e6a2
Author: Emily Gonyer <emilyyrose gmail com>
Date:   Thu Aug 16 12:31:15 2012 -0400

    Fixed Reset/Lap Button in Stopwatch
    
    https://bugzilla.gnome.org/show_bug.cgi?id=682010

 gnomeclocks/clocks.py |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gnomeclocks/clocks.py b/gnomeclocks/clocks.py
index 5da0d1f..2d01a94 100644
--- a/gnomeclocks/clocks.py
+++ b/gnomeclocks/clocks.py
@@ -269,9 +269,9 @@ class Stopwatch (Clock):
         self.rightButton.set_size_request(200, -1)
         self.rightLabel = Gtk.Label ()
         self.rightButton.add (self.rightLabel)
-
+        self.rightButton.set_sensitive(False)
         self.leftButton.get_style_context ().add_class ("clocks-start")
-        #self.rightButton.get_style_context ().add_class ("clocks-lap")
+
 
         hbox.pack_start (Gtk.Box(), True, False, 0)
         hbox.pack_start (self.leftButton, False, False, 0)
@@ -281,7 +281,8 @@ class Stopwatch (Clock):
 
         self.leftLabel.set_markup(STOPWATCH_BUTTON_MARKUP % (_("Start")))
         self.leftLabel.set_padding (6, 0)
-
+        self.rightLabel.set_markup (STOPWATCH_BUTTON_MARKUP % (_("Reset")))
+        self.rightLabel.set_padding (6, 0)
 
         center.pack_start (self.stopwatchLabel, False, False, 0)
         space = Gtk.EventBox()



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