[gnome-chess] Update header bar title in game_undo_cb



commit d469402afc0a5ddeeb6ab1c4c6846ea2fcdcd8d8
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Jun 24 19:14:39 2014 -0500

    Update header bar title in game_undo_cb
    
    Makes no difference, but this is where we handle the rest of the UI

 src/gnome-chess.vala |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 52f15f6..f0d6b5c 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -1028,6 +1028,7 @@ public class Application : Gtk.Application
 
         update_history_panel ();
         update_action_status ();
+        update_headerbar_title ();
     }
     
     private void update_action_status ()
@@ -1420,8 +1421,6 @@ public class Application : Gtk.Application
             human_player.undo ();
         else
             game.opponent.undo ();
-
-        update_headerbar_title ();
     }
 
     public void pause_resume_cb ()


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