[gnome-chess/gnome-3-8] Game does not need saving immediately after it is saved



commit 7c88c9054a24cd605e905bc9fa431a97de82bf2f
Author: Michael Catanzaro <mike catanzaro gmail com>
Date:   Sat Jun 22 17:21:06 2013 -0500

    Game does not need saving immediately after it is saved
    
    Moreover, we should wait until after the save is successful before
    making this determination.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=702157
    
    Conflicts:
        src/gnome-chess.vala

 src/gnome-chess.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 34ad2d3..f21b7ed 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -1677,6 +1677,7 @@ public class Application : Gtk.Application
                 pgn_game.write (save_dialog.get_file ());
                 saved_filename = save_dialog.get_filename ();
                 save_menu.sensitive = false;
+                game_needs_saving = false;
             }
             catch (Error e)
             {


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