[f-spot/icon-view-cleanup] Use BrowseablePointerGridView in ImportDialog



commit 5e8f9659b00ec5491de4e850e8df44ac80b264ce
Author: Mike Gemünde <mike gemuende de>
Date:   Wed Sep 8 11:57:55 2010 +0200

    Use BrowseablePointerGridView in ImportDialog

 .../MainApp/FSpot.UI.Dialog/ImportDialog.cs        |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/Clients/MainApp/FSpot.UI.Dialog/ImportDialog.cs b/src/Clients/MainApp/FSpot.UI.Dialog/ImportDialog.cs
index c80b0d8..2fe955d 100644
--- a/src/Clients/MainApp/FSpot.UI.Dialog/ImportDialog.cs
+++ b/src/Clients/MainApp/FSpot.UI.Dialog/ImportDialog.cs
@@ -60,13 +60,10 @@ namespace FSpot.UI.Dialog
             GtkUtil.ModifyColors (photo_scrolled);
             GtkUtil.ModifyColors (photo_view);
 
-            var tray = new ScalingIconView (Controller.Photos);
-            tray.Selection.Changed += (c) => {
-                if (tray.Selection.Count > 0)
-                    photo_view.Item.Index = tray.Selection.Ids[0];
+            var tray = new BrowseablePointerGridView (photo_view.Item) {
+                DisplayTags = false
             };
             icon_scrolled.Add (tray);
-            tray.DisplayTags = false;
             tray.Show ();
 
             progress_bar.Hide ();



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