[gnome-sudoku/gnome-3-14] Unity: hide headerbar on new game screen for 3.14



commit 8efdce17defbeca52286cc60c0691880be425ca0
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Sep 28 12:00:19 2014 -0500

    Unity: hide headerbar on new game screen for 3.14
    
    The double title looks awful and we can't fix it without a string change.

 src/gnome-sudoku.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-sudoku.vala b/src/gnome-sudoku.vala
index 09750ec..00d501d 100644
--- a/src/gnome-sudoku.vala
+++ b/src/gnome-sudoku.vala
@@ -232,6 +232,7 @@ public class Sudoku : Gtk.Application
             headerbar.subtitle = board.difficulty_category.to_string ();
         else
             headerbar.title = board.difficulty_category.to_string ();
+        headerbar.visible = true;
 
         game = new SudokuGame (board);
         back_cb ();
@@ -298,7 +299,7 @@ public class Sudoku : Gtk.Application
         if (desktop == null || desktop != "Unity")
             headerbar.subtitle = null;
         else
-            headerbar.title = _("Sudoku");
+            headerbar.visible = false;
     }
 
     private void new_game_cb ()


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