[gnome-documents] window: invalidate the cancellable when done loading



commit 0024fa0643a08fb43685412999cb62e12e131696
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Aug 23 14:36:55 2011 -0400

    window: invalidate the cancellable when done loading

 src/mainWindow.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index d23a684..a93aed7 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -229,6 +229,7 @@ MainWindow.prototype = {
             return;
         }
 
+        this._loaderCancellable = null;
         let model = EvView.DocumentModel.new_with_document(document);
 
         if (this._loaderTimeout) {



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