private void OnSourceAdded(SourceAddedArgs args) { if (ServiceStartup()) { ServiceManager.SourceManager.SourceAdded -= OnSourceAdded; } }
/// <summary> /// Handles SourceAdded Event of SourceManager. When this source is added, its contents are setup. /// </summary> /// <param name="args"> /// A <see cref="SourceAddedArgs"/> -- not used /// </param> private void OnSourceAdded(SourceAddedArgs args) { if (args.Source is LiveRadioSource) { SetupSourceContents(); } }
private void OnSourceAdded(SourceAddedArgs args) { if (args.Source.UniqueId == "PodcastSource-PodcastLibrary") { MaybeShowTeaserInPodcasts(); ServiceManager.SourceManager.SourceAdded -= OnSourceAdded; } }
private void OnSourceAdded(SourceAddedArgs args) { if (args.Source is MusicLibrarySource) { music_library = args.Source as MusicLibrarySource; } SetupSourceContents(); }
private void OnSourceAdded(SourceAddedArgs args) { if (ServiceManager.SourceManager.MusicLibrary != null && ServiceManager.SourceManager.VideoLibrary != null) { ServiceManager.SourceManager.SourceAdded -= OnSourceAdded; RefreshMetadataDelayed(); } }
private void OnSourceAdded(SourceAddedArgs args) { if (args.Source is IImportSource) { ThreadAssist.ProxyToMain(delegate { AddSource((IImportSource)args.Source); }); } }
private void OnSourceAdded(SourceAddedArgs args) { if (args.Source.GetType().FullName == "Banshee.NowPlaying.NowPlayingSource") { ((IDisposable)args.Source).Dispose(); Gtk.Application.Invoke(delegate { ServiceManager.SourceManager.RemoveSource(args.Source, true); }); } }
private void OnSourceAdded(object o, SourceAddedArgs args) { object[] new_args = new object [this.ctor_args.Length + 3]; new_args [0] = args.Source; new_args [1] = this.queryable; new_args [2] = this.fingerprint; Array.Copy(this.ctor_args, 0, new_args, 3, this.ctor_args.Length); Container cont = (Container)Activator.CreateInstance(this.container_type, new_args); if (!cont.OpenClient()) { return; } cont.IndexAll(); cont.OpenView(); }
private void OnSourceAdded(SourceAddedArgs args) { Banshee.Base.ThreadAssist.ProxyToMain(delegate { AddSource(args.Source); }); }
private void OnSourceAdded(SourceAddedArgs args) { ServiceStartup (); }
private void OnSourceAdded (object o, SourceAddedArgs args) { object[] new_args = new object [this.ctor_args.Length + 3]; new_args [0] = args.Source; new_args [1] = this.queryable; new_args [2] = this.fingerprint; Array.Copy (this.ctor_args, 0, new_args, 3, this.ctor_args.Length); Container cont = (Container) Activator.CreateInstance (this.container_type, new_args); if (!cont.OpenClient ()) return; cont.IndexAll (); cont.OpenView (); }
private void OnSourceAdded(SourceAddedArgs args) { MonitorLibrary(args.Source as LibrarySource); }
private void OnSourceAdded(SourceAddedArgs args) { MonitorLibrary (args.Source as LibrarySource); }
/// <summary> /// Handles SourceAdded Event of SourceManager. When this source is added, its contents are setup. /// </summary> /// <param name="args"> /// A <see cref="SourceAddedArgs"/> -- not used /// </param> private void OnSourceAdded(SourceAddedArgs args) { if (args.Source is LiveRadioSource) SetupSourceContents (); }
private void OnSourceAdded(SourceAddedArgs args) { InstallDisplay(args.Source as NowPlayingSource); }
private void OnSourceAdded(object o, SourceAddedArgs args) { Logger.Debug("Source Added"); Evolution.Source source = args.Source; AddCategory(source); }
private void OnSourceAdded(SourceAddedArgs args) { if (args.Source.UniqueId == "PodcastSource-PodcastLibrary") { MaybeShowTeaserInPodcasts (); ServiceManager.SourceManager.SourceAdded -= OnSourceAdded; } }
private void OnSourceAdded(SourceAddedArgs args) { if (args.Source.GetType ().FullName == "Banshee.NowPlaying.NowPlayingSource") { ((IDisposable)args.Source).Dispose (); Gtk.Application.Invoke (delegate { ServiceManager.SourceManager.RemoveSource (args.Source, true); }); } }
private void OnSourceAdded(SourceAddedArgs args) { if (args.Source is MusicLibrarySource) { music_library = args.Source as MusicLibrarySource; } SetupSourceContents (); }
private void OnSourceAdded (SourceAddedArgs args) { ThreadAssist.ProxyToMain (delegate { AddSource (args.Source); }); }
private void OnSourceAdded (SourceAddedArgs args) { if (ServiceManager.SourceManager.MusicLibrary != null && ServiceManager.SourceManager.VideoLibrary != null) { ServiceManager.SourceManager.SourceAdded -= OnSourceAdded; RefreshMetadataDelayed (); } }
private void OnSourceAdded(object o, SourceAddedArgs args) { Logger.Debug ("Source Added"); Evolution.Source source = args.Source; AddCategory (source); }
private void OnSourceAdded(SourceAddedArgs args) { if (ServiceStartup ()) { ServiceManager.SourceManager.SourceAdded -= OnSourceAdded; } }
private void OnSourceAdded(SourceAddedArgs args) { InstallDisplay (args.Source as NowPlayingSource); }