[banshee: 4/12] Move DragDropList to Hyena.Gui



commit 0d17baf1d5dac3b7a1a96cf53901181809134556
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Thu Jul 23 16:44:38 2009 -0700

    Move DragDropList to Hyena.Gui

 .../Banshee.Sources.Gui/SourceView_DragAndDrop.cs  |    4 +++-
 src/Core/Banshee.ThickClient/Makefile.am           |    1 -
 .../Hyena.Gui/Hyena.Gui}/DragDropList.cs           |    2 +-
 src/Libraries/Hyena.Gui/Makefile.am                |    1 +
 4 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs
index b6181f9..3290c49 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView_DragAndDrop.cs
@@ -34,6 +34,8 @@ using Mono.Unix;
 using Gtk;
 using Gdk;
 
+using Hyena.Gui;
+
 using Banshee.Sources;
 using Banshee.Library;
 using Banshee.ServiceStack;
@@ -220,7 +222,7 @@ namespace Banshee.Sources.Gui
                     if (sources.Count > 0) {
                         drop_source.MergeSourceInput (sources[0], SourceMergeType.Source);
                     }
-                } else if (data.Target.Name == Banshee.Gui.DragDrop.DragDropTarget.UriList.Target) {
+                } else if (data.Target.Name == DragDropTarget.UriList.Target) {
                     foreach (string uri in DragDropUtilities.SplitSelectionData (data)) {
                         // TODO if we dropped onto a playlist, add ourselves
                         // to it after importing (or if already imported, find
diff --git a/src/Core/Banshee.ThickClient/Makefile.am b/src/Core/Banshee.ThickClient/Makefile.am
index d53e769..081524b 100644
--- a/src/Core/Banshee.ThickClient/Makefile.am
+++ b/src/Core/Banshee.ThickClient/Makefile.am
@@ -52,7 +52,6 @@ SOURCES =  \
 	Banshee.Gui.Dialogs/ImageFileChooserDialog.cs \
 	Banshee.Gui.Dialogs/OpenLocationDialog.cs \
 	Banshee.Gui.Dialogs/SeekDialog.cs \
-	Banshee.Gui.DragDrop/DragDropList.cs \
 	Banshee.Gui.DragDrop/DragDropTarget.cs \
 	Banshee.Gui.DragDrop/DragDropUtilities.cs \
 	Banshee.Gui.TrackEditor/AlbumArtistEntry.cs \
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui.DragDrop/DragDropList.cs b/src/Libraries/Hyena.Gui/Hyena.Gui/DragDropList.cs
similarity index 98%
rename from src/Core/Banshee.ThickClient/Banshee.Gui.DragDrop/DragDropList.cs
rename to src/Libraries/Hyena.Gui/Hyena.Gui/DragDropList.cs
index 4619ea2..4a89dea 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui.DragDrop/DragDropList.cs
+++ b/src/Libraries/Hyena.Gui/Hyena.Gui/DragDropList.cs
@@ -33,7 +33,7 @@ using System.Collections.Generic;
 using System.Runtime.InteropServices;
 using Gtk;
 
-namespace Banshee.Gui.DragDrop 
+namespace Hyena.Gui
 {   
     public class DragDropList<T> : List<T>
     {
diff --git a/src/Libraries/Hyena.Gui/Makefile.am b/src/Libraries/Hyena.Gui/Makefile.am
index f4fd7d6..6ef948d 100644
--- a/src/Libraries/Hyena.Gui/Makefile.am
+++ b/src/Libraries/Hyena.Gui/Makefile.am
@@ -46,6 +46,7 @@ SOURCES =  \
 	Hyena.Gui/CleanRoomStartup.cs \
 	Hyena.Gui/CompositeUtils.cs \
 	Hyena.Gui/Contrast.cs \
+	Hyena.Gui/DragDropList.cs \
 	Hyena.Gui/ActionManager.cs \
 	Hyena.Gui/HyenaActionGroup.cs \
 	Hyena.Gui/EditableEraseAction.cs \



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