[gnome-mines] Stop using GtkStock
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mines] Stop using GtkStock
- Date: Mon, 14 Oct 2013 21:01:53 +0000 (UTC)
commit 9dfbd8422a144813ebc4e394e457b0b5672d6e8f
Author: Robert Ancell <robert ancell canonical com>
Date: Tue Oct 15 09:40:20 2013 +1300
Stop using GtkStock
src/gnome-mines.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-mines.vala b/src/gnome-mines.vala
index 6bd9d8e..87dbde9 100644
--- a/src/gnome-mines.vala
+++ b/src/gnome-mines.vala
@@ -778,7 +778,7 @@ public class Mines : Gtk.Application
var dialog = new Gtk.Dialog.with_buttons (_("Mines Preferences"),
window,
0,
- Gtk.Stock.CLOSE,
+ _("_Close"),
Gtk.ResponseType.CLOSE, null);
dialog.response.connect (pref_response_cb);
dialog.delete_event.connect (pref_delete_event_cb);
@@ -917,13 +917,13 @@ public class ScoreDialog : Gtk.Dialog
if (show_quit)
{
- add_button (Gtk.Stock.QUIT, Gtk.ResponseType.CLOSE);
+ add_button (_("_Quit"), Gtk.ResponseType.CLOSE);
var button = add_button (_("New Game"), Gtk.ResponseType.OK);
button.has_focus = true;
}
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]