diff options
author | sr55 <[email protected]> | 2011-05-21 20:00:27 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-05-21 20:00:27 +0000 |
commit | 02881d96d39571587046a513902ac79fd5e45ecf (patch) | |
tree | d11349470789ea76b365c1655e765231084fbeec | |
parent | af4123faa1127aa0d9a9a14d86855dd167ef1cd6 (diff) |
WinGui: Added missing update fromm previous checkin.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3991 b64f7644-9d1e-0410-96f1-a4d463321fa5
4 files changed, 6 insertions, 14 deletions
diff --git a/win/CS/Controls/AudioPanel.cs b/win/CS/Controls/AudioPanel.cs index bd44de646..a77294c5d 100644 --- a/win/CS/Controls/AudioPanel.cs +++ b/win/CS/Controls/AudioPanel.cs @@ -43,7 +43,7 @@ namespace Handbrake.Controls this.ScannedTracks = new BindingList<Audio>
{
- Audio.NoneFound
+ AudioHelper.NoneFound
};
this.audioList.AutoGenerateColumns = false;
@@ -191,7 +191,7 @@ namespace Handbrake.Controls {
audioList.Rows.Clear();
this.ScannedTracks.Clear();
- this.ScannedTracks.Add(Audio.NoneFound);
+ this.ScannedTracks.Add(AudioHelper.NoneFound);
this.drp_audioTrack.Refresh();
drp_audioTrack.SelectedIndex = 0;
return;
@@ -499,7 +499,7 @@ namespace Handbrake.Controls /// </summary>
private void AutomaticTrackSelection()
{
- if (drp_audioTrack.SelectedItem.ToString() == Audio.NoneFound.Description)
+ if (drp_audioTrack.SelectedItem.ToString() == AudioHelper.NoneFound.Description)
{
this.AudioTracks.Clear();
return;
diff --git a/win/CS/HandBrake.ApplicationServices/Parsing/Audio.cs b/win/CS/HandBrake.ApplicationServices/Parsing/Audio.cs index a9273241c..e4cf6bf4a 100644 --- a/win/CS/HandBrake.ApplicationServices/Parsing/Audio.cs +++ b/win/CS/HandBrake.ApplicationServices/Parsing/Audio.cs @@ -6,9 +6,6 @@ namespace HandBrake.ApplicationServices.Parsing
{
using System;
- using System.Collections.Generic;
- using System.IO;
- using System.Text.RegularExpressions;
/// <summary>
/// An object represending an AudioTrack associated with a Title, in a DVD
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Interfaces/IPresetService.cs b/win/CS/HandBrake.ApplicationServices/Services/Interfaces/IPresetService.cs index 30d6b2f3a..b7d65c1a1 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/Interfaces/IPresetService.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/Interfaces/IPresetService.cs @@ -15,9 +15,9 @@ namespace HandBrake.ApplicationServices.Services.Interfaces public interface IPresetService
{
/// <summary>
- /// Gets or sets a Collection of presets.
+ /// Gets a Collection of presets.
/// </summary>
- ObservableCollection<Preset> Presets { get; set; }
+ ObservableCollection<Preset> Presets { get; }
/// <summary>
/// Add a new preset to the system
diff --git a/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs b/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs index 677504253..c3bfa7fb7 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs @@ -70,7 +70,7 @@ namespace HandBrake.ApplicationServices.Services }
/// <summary>
- /// Gets or sets a Collection of presets.
+ /// Gets a Collection of presets.
/// </summary>
public ObservableCollection<Preset> Presets
{
@@ -78,11 +78,6 @@ namespace HandBrake.ApplicationServices.Services {
return this.presets;
}
-
- set
- {
- this.presets = value;
- }
}
/// <summary>
|