[gnome-tetravex] remove use of deprected gtk stock items
- From: Thomas Hindoe Paaboel Andersen <thomashpa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tetravex] remove use of deprected gtk stock items
- Date: Sun, 13 Oct 2013 11:38:03 +0000 (UTC)
commit 966d8c45bceb03ad4cf050f136e2c91132d41d86
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Sun Oct 13 15:37:05 2013 +0200
remove use of deprected gtk stock items
src/gnome-tetravex.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-tetravex.vala b/src/gnome-tetravex.vala
index ddc8c6b..fa1c37a 100644
--- a/src/gnome-tetravex.vala
+++ b/src/gnome-tetravex.vala
@@ -399,11 +399,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]