[gnome-sudoku] Fix difficulty in header bar title



commit 3b279b74423bba06e1668369e28e87e7ed2d8f59
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Sep 28 12:09:39 2014 -0500

    Fix difficulty in header bar title
    
    This gets reset by back_cb()

 src/gnome-sudoku.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-sudoku.vala b/src/gnome-sudoku.vala
index 61d83c0..ec3cb37 100644
--- a/src/gnome-sudoku.vala
+++ b/src/gnome-sudoku.vala
@@ -291,11 +291,11 @@ public class Sudoku : Gtk.Application
         if (view != null)
             game_box.remove (view);
 
-        headerbar.title = board.difficulty_category.to_string ();
-
         back_cb ();
         game = new SudokuGame (board);
 
+        headerbar.title = board.difficulty_category.to_string ();
+
         game.tick.connect (tick_cb);
         game.paused_changed.connect (paused_changed_cb);
 


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