[gnome-games/swell-foop-vala: 2/2] gnomine: Closing new game confirmation should keep current game
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/swell-foop-vala: 2/2] gnomine: Closing new game confirmation should keep current game
- Date: Mon, 27 Feb 2012 04:46:30 +0000 (UTC)
commit e10142b932cf135edb59c8d2daac24bada1246e2
Author: Robert Ancell <robert ancell canonical com>
Date: Mon Feb 27 15:46:04 2012 +1100
gnomine: Closing new game confirmation should keep current game
gnomine/src/gnomine.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomine/src/gnomine.vala b/gnomine/src/gnomine.vala
index 7184d64..0084d5a 100644
--- a/gnomine/src/gnomine.vala
+++ b/gnomine/src/gnomine.vala
@@ -462,11 +462,11 @@ public class GnoMine : Gtk.Application
{
var dialog = new Gtk.MessageDialog (window, Gtk.DialogFlags.MODAL, Gtk.MessageType.QUESTION, Gtk.ButtonsType.NONE, "%s", _("Cancel current game?"));
dialog.add_buttons (_("Start New Game"), Gtk.ResponseType.ACCEPT,
- _("Keep Current Game"), Gtk.ResponseType.REJECT,
+ _("Keep Current Game"), Gtk.ResponseType.DELETE_EVENT,
null);
var result = dialog.run ();
dialog.destroy ();
- if (result == Gtk.ResponseType.REJECT)
+ if (result == Gtk.ResponseType.DELETE_EVENT)
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]