blam r682 - trunk/src
- From: cmartin svn gnome org
- To: svn-commits-list gnome org
- Subject: blam r682 - trunk/src
- Date: Tue, 10 Mar 2009 16:14:17 +0000 (UTC)
Author: cmartin
Date: Tue Mar 10 16:14:17 2009
New Revision: 682
URL: http://svn.gnome.org/viewvc/blam?rev=682&view=rev
Log:
Only set a channel's name to the URL when it's null.
Up to now, we assumed we only added brand new channels. Now, with DnD
and groups, "live" channels are added, and we don't want to change
the name.
Modified:
trunk/src/ChannelCollection.cs
Modified: trunk/src/ChannelCollection.cs
==============================================================================
--- trunk/src/ChannelCollection.cs (original)
+++ trunk/src/ChannelCollection.cs Tue Mar 10 16:14:17 2009
@@ -156,7 +156,10 @@
}
}
- channel.Name = channel.Url;
+ if(channel.Name == null){
+ channel.Name = channel.Url;
+ }
+
mChannels.Add (channel);
Refresh (channel);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]