[gnome-games] gnomine: improve new game dialog, bug 662825



commit a02b1e923ff5cd6a2cd43bc266bbabb6548b047f
Author: Ekaterina Gerasimova <kittykat3756 gmail com>
Date:   Sun Jun 17 17:41:47 2012 +0100

    gnomine: improve new game dialog, bug 662825

 gnomine/src/gnomine.vala |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gnomine/src/gnomine.vala b/gnomine/src/gnomine.vala
index 7d3e483..61a43a1 100644
--- a/gnomine/src/gnomine.vala
+++ b/gnomine/src/gnomine.vala
@@ -460,9 +460,10 @@ public class GnoMine : Gtk.Application
 
         if (minefield != null && minefield.n_cleared > 0 && !minefield.exploded && !minefield.is_complete)
         {
-            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.DELETE_EVENT,
+            var dialog = new Gtk.MessageDialog (window, Gtk.DialogFlags.MODAL, Gtk.MessageType.QUESTION, Gtk.ButtonsType.NONE, "%s", _("Do you want to start a new game?"));
+	    dialog.secondary_text = (_("If you start a new game, your current progress will be lost."));
+            dialog.add_buttons (Gtk.Stock.CANCEL, Gtk.ResponseType.DELETE_EVENT,
+                                _("Start New Game"), Gtk.ResponseType.ACCEPT,
                                 null);
             var result = dialog.run ();
             dialog.destroy ();



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