[gnome-boxes] collection-view: Remove spinner after import/install



commit d50e2df745d58b75ab30e6930d2f5f787a575f24
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Sep 12 23:39:25 2013 +0300

    collection-view: Remove spinner after import/install
    
    This fixes a regression from commit
    db7ba4de2ff70aed3c50e29b1150e57cd7f17ae2w where we failed to remove
    the spinner from on top of a previously under construction box after
    import/install was over and it was not under construction anymore.

 src/collection-view.vala |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/collection-view.vala b/src/collection-view.vala
index 30df658..f9b485e 100644
--- a/src/collection-view.vala
+++ b/src/collection-view.vala
@@ -383,8 +383,11 @@ private class Boxes.CollectionView: Boxes.UI {
             machine.set_data<uint> ("activity_timeout", 0);
         }
 
-        if (!machine.under_construction)
+        if (!machine.under_construction) {
+            model.set (iter, ModelColumns.PULSE, 0);
+
             return;
+        }
 
         var pulse = 1;
         model.set (iter, ModelColumns.PULSE, pulse++);


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