public AudioCdSource (AudioCdService service, AudioCdDiscModel discModel) : base (Catalog.GetString ("Audio CD"), discModel.Title, 400) { this.service = service; this.disc_model = discModel; TypeUniqueId = ""; Properties.SetString ("TrackView.ColumnControllerXml", String.Format (@" <column-controller> <column> <renderer type=""Hyena.Data.Gui.ColumnCellCheckBox"" property=""RipEnabled""/> </column> <add-all-defaults /> </column-controller> ")); disc_model.MetadataQueryStarted += OnMetadataQueryStarted; disc_model.MetadataQueryFinished += OnMetadataQueryFinished; disc_model.EnabledCountChanged += OnEnabledCountChanged; disc_model.LoadModelFromDisc (); SetupGui (); }
public AudioCdSource(AudioCdService service, AudioCdDiscModel discModel) : base(Catalog.GetString("Audio CD"), discModel.Title, 400) { this.service = service; this.disc_model = discModel; TypeUniqueId = ""; Properties.SetString("TrackView.ColumnControllerXml", String.Format(@" <column-controller> <column> <renderer type=""Hyena.Data.Gui.ColumnCellCheckBox"" property=""RipEnabled""/> </column> <add-all-defaults /> </column-controller> ")); disc_model.MetadataQueryStarted += OnMetadataQueryStarted; disc_model.MetadataQueryFinished += OnMetadataQueryFinished; disc_model.EnabledCountChanged += OnEnabledCountChanged; disc_model.LoadModelFromDisc(); SetupGui(); }