[f-spot] Make sure the query bar shows up correctly after import.



commit 3b87674dd65372436163968cfdf584465f630abf
Author: Ruben Vermeersch <ruben savanne be>
Date:   Fri Jun 11 20:47:27 2010 +0200

    Make sure the query bar shows up correctly after import.

 src/MainWindow.cs |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/MainWindow.cs b/src/MainWindow.cs
index cc8d2d8..e78184b 100644
--- a/src/MainWindow.cs
+++ b/src/MainWindow.cs
@@ -1137,8 +1137,7 @@ namespace FSpot
 				ThreadAssist.ProxyToMain (() => {
 					if (evnt == ImportEvent.ImportFinished) {
 						if (controller.PhotosImported > 0) {
-							query.RollSet = new RollSet (controller.CreatedRoll);
-							UpdateQuery ();
+							query.RollSet = new RollSet (Database.Rolls.GetRolls (1));
 						}
 					}
 				});
@@ -1172,8 +1171,7 @@ namespace FSpot
 			controller.StatusEvent += (evnt) => {
 				if (evnt == ImportEvent.ImportFinished) {
 					if (controller.PhotosImported > 0) {
-						query.RollSet = new RollSet (controller.CreatedRoll);
-						UpdateQuery ();
+						query.RollSet = new RollSet (Database.Rolls.GetRolls (1));
 					}
 				}
 			};



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