blam r668 - trunk/src



Author: cmartin
Date: Tue Jan  6 09:54:13 2009
New Revision: 668
URL: http://svn.gnome.org/viewvc/blam?rev=668&view=rev

Log:
Really move the channel from a group to the root.

I forgot to actually change the data instead of just where
the app shows.

Modified:
   trunk/src/ChannelList.cs

Modified: trunk/src/ChannelList.cs
==============================================================================
--- trunk/src/ChannelList.cs	(original)
+++ trunk/src/ChannelList.cs	Tue Jan  6 09:54:13 2009
@@ -502,6 +502,8 @@
             
             lookfor.Iter = (model as TreeStore).AppendValues(lookfor as IChannel);
             (model as TreeStore).Remove(ref iter);
+            ingroup.Channels.Remove(lookfor);
+            Application.TheApp.CCollection.Add(lookfor);
         }
 
         public void EmitMarkAsReadCb (object obj, EventArgs args)



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