[gnome-mines] trivial: rename show_quit to show_close



commit a47e1ecfe2b6d434bb1ac4172c96f7a68766750e
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Nov 19 11:26:36 2013 -0600

    trivial: rename show_quit to show_close

 src/gnome-mines.vala |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gnome-mines.vala b/src/gnome-mines.vala
index 472c30d..d2cd1c2 100644
--- a/src/gnome-mines.vala
+++ b/src/gnome-mines.vala
@@ -429,9 +429,9 @@ public class Mines : Gtk.Application
         flag_label.set_text (_("%u/%u").printf (minefield.n_flags, minefield.n_mines));
     }
 
-    private int show_scores (HistoryEntry? selected_entry = null, bool show_quit = false)
+    private int show_scores (HistoryEntry? selected_entry = null, bool show_close = false)
     {
-        var dialog = new ScoreDialog (history, selected_entry, show_quit);
+        var dialog = new ScoreDialog (history, selected_entry, show_close);
         dialog.modal = true;
         dialog.transient_for = window;
 
@@ -930,13 +930,13 @@ public class ScoreDialog : Gtk.Dialog
     private Gtk.ComboBox size_combo;
     private Gtk.TreeView scores;
 
-    public ScoreDialog (History history, HistoryEntry? selected_entry = null, bool show_quit = false)
+    public ScoreDialog (History history, HistoryEntry? selected_entry = null, bool show_close = false)
     {
         this.history = history;
         history.entry_added.connect (entry_added_cb);
         this.selected_entry = selected_entry;
 
-        if (show_quit)
+        if (show_close)
         {
             add_button (_("_Close"), Gtk.ResponseType.CLOSE);
 


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