banshee r4861 - in trunk/banshee: . src/Extensions/Banshee.Daap/Banshee.Daap
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4861 - in trunk/banshee: . src/Extensions/Banshee.Daap/Banshee.Daap
- Date: Fri, 19 Dec 2008 19:39:00 +0000 (UTC)
Author: gburt
Date: Fri Dec 19 19:39:00 2008
New Revision: 4861
URL: http://svn.gnome.org/viewvc/banshee?rev=4861&view=rev
Log:
2008-12-19 Gabriel Burt <gabriel burt gmail com>
* src/Extensions/Banshee.Daap/Banshee.Daap/DaapService.cs: Delay the
initialization of the DAAP plugin for 3 seconds in an attempt to avoid the
lock-related freezes (BNC #450125)
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Extensions/Banshee.Daap/Banshee.Daap/DaapService.cs
Modified: trunk/banshee/src/Extensions/Banshee.Daap/Banshee.Daap/DaapService.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.Daap/Banshee.Daap/DaapService.cs (original)
+++ trunk/banshee/src/Extensions/Banshee.Daap/Banshee.Daap/DaapService.cs Fri Dec 19 19:39:00 2008
@@ -129,6 +129,11 @@
public void DelayedInitialize ()
{
+ Application.RunTimeout (3*1000, DelayedInitializeTimeout);
+ }
+
+ public bool DelayedInitializeTimeout ()
+ {
// Add the source, even though its empty, so that the user sees the
// plugin is enabled, just no child sources yet.
source_map = new Dictionary<string, DaapSource> ();
@@ -151,6 +156,7 @@
} catch (Exception e) {
Hyena.Log.Exception ("Failed to start DAAP client", e);
}
+ return false;
}
string IService.ServiceName {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]