[swell-foop] Stop using GtkStock



commit 5ba989d1d2945cb94192d9f067440ada329ca521
Author: Robert Ancell <robert ancell canonical com>
Date:   Tue Oct 15 10:45:33 2013 +1300

    Stop using GtkStock

 src/swell-foop.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/swell-foop.vala b/src/swell-foop.vala
index 8cdf6ab..7a83a46 100644
--- a/src/swell-foop.vala
+++ b/src/swell-foop.vala
@@ -493,11 +493,11 @@ public class ScoreDialog : Gtk.Dialog
 
         if (show_quit)
         {
-            add_button (Gtk.Stock.QUIT, Gtk.ResponseType.CLOSE);
+            add_button (_("_Quit"), Gtk.ResponseType.CLOSE);
             add_button (_("New Game"), Gtk.ResponseType.OK);
         }
         else
-            add_button (Gtk.Stock.OK, Gtk.ResponseType.DELETE_EVENT);
+            add_button (_("_OK"), Gtk.ResponseType.DELETE_EVENT);
         set_size_request (200, 300);
 
         var vbox = new Gtk.Box (Gtk.Orientation.VERTICAL, 5);


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