[banshee] [Podcasting] make it an IDelayedInitializeService
- From: Aaron Bockover <abock src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [Podcasting] make it an IDelayedInitializeService
- Date: Mon, 29 Mar 2010 17:22:49 +0000 (UTC)
commit 6d2a875992c9e6e57b354ef79ca45ee1b4f61812
Author: Aaron Bockover <abockover novell com>
Date: Mon Mar 29 13:17:47 2010 -0400
[Podcasting] make it an IDelayedInitializeService
No reason for this to be fully initialized early on.
.../Banshee.Podcasting/PodcastService.cs | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs b/src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs
index 9fc9987..128f120 100644
--- a/src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs
+++ b/src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs
@@ -52,7 +52,7 @@ using Banshee.Configuration;
namespace Banshee.Podcasting
{
- public partial class PodcastService : IExtensionService, IDisposable, IInitializeService
+ public partial class PodcastService : IExtensionService, IDisposable, IDelayedInitializeService
{
private readonly string tmp_download_path = Paths.Combine (Paths.ExtensionCacheRoot, "podcasting", "partial-downloads");
private uint refresh_timeout_id = 0;
@@ -211,6 +211,10 @@ namespace Banshee.Podcasting
public void Initialize ()
{
+ }
+
+ public void DelayedInitialize ()
+ {
download_manager = new DownloadManager (2, tmp_download_path);
download_manager_iface = new DownloadManagerInterface (download_manager);
download_manager_iface.Initialize ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]