blam r681 - trunk/src



Author: cmartin
Date: Tue Mar 10 16:14:13 2009
New Revision: 681
URL: http://svn.gnome.org/viewvc/blam?rev=681&view=rev

Log:
Move TargetType to Imendio.Blam.

It used to be in Imendio.Blam.Application.

Modified:
   trunk/src/Application.cs
   trunk/src/ChannelGroup.cs
   trunk/src/ChannelList.cs

Modified: trunk/src/Application.cs
==============================================================================
--- trunk/src/Application.cs	(original)
+++ trunk/src/Application.cs	Tue Mar 10 16:14:13 2009
@@ -26,6 +26,12 @@
 
 namespace Imendio.Blam {
 
+	public enum TargetType {
+		String,
+		UriList,
+		Channel
+	};
+
 #if ENABLE_DBUS
     [NDesk.DBus.Interface("org.gnome.feed.Reader")]
 #endif
@@ -99,13 +105,6 @@
 
         Gnome.Client client = null;
 
-
-        public enum TargetType {
-            String,
-            UriList,
-			Channel
-        };
-
         public static TargetEntry[] DragEntries = new TargetEntry[] {
             new TargetEntry("STRING", 0, (uint)TargetType.String),
             new TargetEntry("text/plain", 0, (uint)TargetType.String),

Modified: trunk/src/ChannelGroup.cs
==============================================================================
--- trunk/src/ChannelGroup.cs	(original)
+++ trunk/src/ChannelGroup.cs	Tue Mar 10 16:14:13 2009
@@ -18,7 +18,6 @@
         [XmlElement("Channel", typeof(Channel))] public ArrayList Channels;
         private ArrayList dummy;
         private Gtk.TreeIter mIter;
-		private IChannel mParent = null;
 
         public ArrayList Items {
             get { /* FIXME: Cache this value. */

Modified: trunk/src/ChannelList.cs
==============================================================================
--- trunk/src/ChannelList.cs	(original)
+++ trunk/src/ChannelList.cs	Tue Mar 10 16:14:13 2009
@@ -38,7 +38,7 @@
         private IChannel LastChannel = null;
 
         public static TargetEntry[] DragEntries = new TargetEntry[] {
-            new TargetEntry("channel", TargetFlags.Widget, (uint)Blam.Application.TargetType.Channel)
+            new TargetEntry("channel", TargetFlags.Widget, (uint)TargetType.Channel)
        };
 
         public ChannelList(IList channels, IList groups)



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