[f-spot] Do not emit Change signal in SelectionCollection when it is not requested



commit 9bfebe558bc94cd0a1ed0c1c2210ef15ef8c0288
Author: Mike Gemünde <mike gemuende de>
Date:   Mon Sep 13 02:57:00 2010 +0200

    Do not emit Change signal in SelectionCollection when it is not requested

 .../FSpot.Gui/FSpot.Widgets/SelectionCollection.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/FSpot.Gui/FSpot.Widgets/SelectionCollection.cs b/src/Core/FSpot.Gui/FSpot.Widgets/SelectionCollection.cs
index 3ef0c4e..322d503 100644
--- a/src/Core/FSpot.Gui/FSpot.Widgets/SelectionCollection.cs
+++ b/src/Core/FSpot.Gui/FSpot.Widgets/SelectionCollection.cs
@@ -121,7 +121,8 @@ namespace FSpot.Widgets
             int [] ids = Ids;
             selected_cells.Clear ();
             bit_array.SetAll (false);
-            SignalChange (ids);
+            if (update)
+                SignalChange (ids);
         }
 
         public void Add (IPhoto item)



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