Skip to content

Commit

Permalink
IIP loading moved to ctor's.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastiii committed Jan 6, 2013
1 parent a15bd6a commit 37f8edb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions TvEngine3/Mediaportal/TV/TvPlugin/TVHome.cs
Expand Up @@ -281,6 +281,7 @@ public bool ShowDefaultHome()

public TVHome()
{
IntegrationProviderHelper.Register();
TVUtil.SetGentleConfigFile();
GetID = (int)Window.WINDOW_TV;
_notifyManager = new TvNotifyManager();
Expand All @@ -301,8 +302,8 @@ public override void OnAdded()
{
System.Diagnostics.Debugger.Launch();
}
#endif
IntegrationProviderHelper.Register();
#endif

this.LogInfo("TVHome:OnAdded");

GUIGraphicsContext.OnBlackImageRendered += new BlackImageRenderedHandler(OnBlackImageRendered);
Expand Down
3 changes: 2 additions & 1 deletion TvEngine3/Mediaportal/TV/TvPlugin/TvNewScheduleSearch.cs
Expand Up @@ -27,6 +27,7 @@
using Mediaportal.TV.Server.TVControl.ServiceAgents;
using Mediaportal.TV.Server.TVDatabase.Entities;
using Mediaportal.TV.Server.TVDatabase.Entities.Enums;
using Mediaportal.TV.Server.TVLibrary.Interfaces.Integration;
using Mediaportal.TV.Server.TVLibrary.Interfaces.Logging;
using Mediaportal.TV.TvPlugin.Helper;
using Action = MediaPortal.GUI.Library.Action;
Expand Down Expand Up @@ -65,7 +66,7 @@ public enum SearchType : int

public TvNewScheduleSearch()
{
this.LogInfo("newsearch ctor");
IntegrationProviderHelper.Register();
GetID = (int)Window.WINDOW_TV_SEARCH;
}

Expand Down
2 changes: 2 additions & 0 deletions TvEngine3/Mediaportal/TV/TvPlugin/TvNewScheduleSearchType.cs
Expand Up @@ -28,6 +28,7 @@
using Mediaportal.TV.Server.TVDatabase.Entities.Enums;
using Mediaportal.TV.Server.TVDatabase.Entities.Factories;
using Mediaportal.TV.Server.TVDatabase.TVBusinessLayer;
using Mediaportal.TV.Server.TVLibrary.Interfaces.Integration;
using Mediaportal.TV.Server.TVLibrary.Interfaces.Logging;
using Action = MediaPortal.GUI.Library.Action;

Expand All @@ -44,6 +45,7 @@ public class TvNewScheduleSearchType : GUIInternalWindow

public TvNewScheduleSearchType()
{
IntegrationProviderHelper.Register();
this.LogInfo("newsearch ctor");
GetID = (int)Window.WINDOW_TV_SEARCHTYPE;
}
Expand Down

0 comments on commit 37f8edb

Please sign in to comment.