[gnome-clocks] Use stock items to reduce translators' work
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Use stock items to reduce translators' work
- Date: Sat, 25 Aug 2012 11:06:43 +0000 (UTC)
commit f287419943bc1b4cc765aa6f1ba1b458991926d5
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Aug 25 12:37:04 2012 +0200
Use stock items to reduce translators' work
gnomeclocks/widgets.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomeclocks/widgets.py b/gnomeclocks/widgets.py
index fd4e173..14fcd8e 100644
--- a/gnomeclocks/widgets.py
+++ b/gnomeclocks/widgets.py
@@ -59,7 +59,7 @@ class NewWorldClockDialog(Gtk.Dialog):
Gtk.EntryIconPosition.SECONDARY, self.find_gicon)
self.searchEntry.set_activates_default(True)
- self.add_buttons(_("Cancel"), 0, _("Add"), 1)
+ self.add_buttons(Gtk.STOCK_CANCEL, 0, Gtk.STOCK_ADD, 1)
self.set_default_response(1)
self.set_response_sensitive(1, False)
@@ -401,7 +401,7 @@ class AlarmDialog(Gtk.Dialog):
self.day_buttons = []
content_area = self.get_content_area()
- self.add_buttons(_("Cancel"), 0, _("Save"), 1)
+ self.add_buttons(Gtk.STOCK_CANCEL, 0, Gtk.STOCK_SAVE, 1)
self.cf = SystemSettings.get_clock_format()
grid = Gtk.Grid()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]