[gnome-clocks] Changed the add-clocks dialog



commit 825de32135e6cdb7e1f2eab7f0a7833ef8b97492
Author: Emily Gonyer <emilyyrose gmail com>
Date:   Thu Aug 16 10:59:21 2012 -0400

    Changed the add-clocks dialog
    
    Removed lap button
    
    https://bugzilla.gnome.org/show_bug.cgi?id=681357

 gnomeclocks/clocks.py  |    5 ++---
 gnomeclocks/widgets.py |    9 ++++-----
 2 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/gnomeclocks/clocks.py b/gnomeclocks/clocks.py
index 01c3d5c..4598c09 100644
--- a/gnomeclocks/clocks.py
+++ b/gnomeclocks/clocks.py
@@ -283,8 +283,7 @@ class Stopwatch (Clock):
 
         self.leftLabel.set_markup(STOPWATCH_BUTTON_MARKUP % (_("Start")))
         self.leftLabel.set_padding (6, 0)
-        self.rightLabel.set_markup(STOPWATCH_BUTTON_MARKUP % (_("Lap")))
-        self.rightLabel.set_padding (6, 0)
+
 
         center.pack_start (self.stopwatchLabel, False, False, 0)
         space = Gtk.EventBox()
@@ -309,7 +308,7 @@ class Stopwatch (Clock):
             self.state = Stopwatch.State.RUNNING
             self.start()
             self.leftLabel.set_markup(STOPWATCH_BUTTON_MARKUP % (_("Stop")))
-            self.rightLabel.set_markup(STOPWATCH_BUTTON_MARKUP % (_("Lap")))
+
             self.leftButton.get_style_context ().add_class ("clocks-stop")
             self.rightButton.set_sensitive(True)
         elif self.state == Stopwatch.State.RUNNING:
diff --git a/gnomeclocks/widgets.py b/gnomeclocks/widgets.py
index 027cf50..f0f8679 100644
--- a/gnomeclocks/widgets.py
+++ b/gnomeclocks/widgets.py
@@ -42,12 +42,12 @@ class NewWorldClockDialog (Gtk.Dialog):
         self.set_border_width (9)
         self.set_size_request(400,-1)
         box = Gtk.Box(orientation = Gtk.Orientation.VERTICAL)
-        box.set_spacing(9)
+        box.set_spacing(3)
         area = self.get_content_area()
         area.pack_start(box, True, True, 9)
 
         self.label = Gtk.Label()
-        self.label.set_markup(_("Search for a city or a time zone..."))
+        self.label.set_markup(_("Search for a city:"))
         self.label.set_alignment(0.0, 0.5)
 
         world = GWeather.Location.new_world(True)
@@ -56,14 +56,13 @@ class NewWorldClockDialog (Gtk.Dialog):
         self.clear_gicon = Gio.ThemedIcon.new_with_default_fallbacks('edit-clear-symbolic')
         self.searchEntry.set_icon_from_gicon(Gtk.EntryIconPosition.SECONDARY, self.find_gicon)
         #self.searchEntry.set_can_focus(False)
-        self.searchEntry.set_placeholder_text(_("Search for a city or a time zone..."))
 
         header = Gtk.Label(_("Add New Clock"))
-        header.set_markup("<span size='x-large'><b>%s</b></span>" % (_("Add a New World Clock")))
+        header.set_markup("<span size='medium'><b>%s</b></span>" % (_("Add a New World Clock")))
 
         btnBox = Gtk.Box()
 
-        self.add_buttons(_("Cancel"), 0, _("Save"), 1)
+        self.add_buttons(_("Cancel"), 0, _("Add"), 1)
         widget = self.get_widget_for_response (1)
         widget.set_sensitive (False)
 



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