[gnome-chess/arnaudb/wip/gtk4: 50/51] Comment for now headerbar things.




commit 629ca22478de37fb6625d862c43f1660652d276b
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Sep 15 18:20:38 2020 +0200

    Comment for now headerbar things.

 src/gnome-chess.vala | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index d5dfcff..e69eec6 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -396,10 +396,10 @@ Copyright © 2015–2016 Sahil Sareen""";
     {
         starting = true;
 
-        if (game_file != null && game_file.get_path () != autosave_filename)
-            headerbar.set_subtitle (game_file.get_basename ());
-        else
-            headerbar.set_subtitle (null);
+//        if (game_file != null && game_file.get_path () != autosave_filename)
+//            headerbar.set_subtitle (game_file.get_basename ());
+//        else
+//            headerbar.set_subtitle (null);
 
         var model = (Gtk.ListStore) history_combo.model;
         model.clear ();
@@ -1348,7 +1348,7 @@ Copyright © 2015–2016 Sahil Sareen""";
         }
 
         window.set_title (title);
-        headerbar.set_subtitle (reason);
+//        headerbar.set_subtitle (reason);
 
         white_time_label.queue_draw ();
         black_time_label.queue_draw ();
@@ -2228,7 +2228,7 @@ Copyright © 2015–2016 Sahil Sareen""";
                     save_dialog = null;
 
                     pgn_game.write (game_file);
-                    headerbar.set_subtitle (game_file.get_basename ());
+//                    headerbar.set_subtitle (game_file.get_basename ());
                     disable_window_action (SAVE_GAME_ACTION_NAME);
                     game_needs_saving = false;
                 }


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