banshee r3333 - in trunk/banshee: . src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3333 - in trunk/banshee: . src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio
- Date: Wed, 27 Feb 2008 06:15:03 +0000 (GMT)
Author: gburt
Date: Wed Feb 27 06:15:02 2008
New Revision: 3333
URL: http://svn.gnome.org/viewvc/banshee?rev=3333&view=rev
Log:
2008-02-27 Gabriel Burt <gabriel burt gmail com>
* src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs:
Fix crasher - don't update GTK outside the main thread.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs
Modified: trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs (original)
+++ trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs Wed Feb 27 06:15:02 2008
@@ -105,7 +105,9 @@
private void HandleConnectionStateChanged (object sender, ConnectionStateChangedArgs args)
{
if (args.State == ConnectionState.Connected) {
- UpdateForUser (lastfm.Account.UserName);
+ Banshee.Base.ThreadAssist.ProxyToMain (delegate {
+ UpdateForUser (lastfm.Account.UserName);
+ });
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]