diff options
author | sr55 <[email protected]> | 2008-09-20 15:11:23 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2008-09-20 15:11:23 +0000 |
commit | b9601981bb42dc82e5d49377fbc6c2de989973cb (patch) | |
tree | 02bda4b9c43d029c1e2071f4cc884fe81da11390 /win/C#/frmAddPreset.cs | |
parent | b3b3fc83847dc15ac9d0aaed2f41e8ffd8228ef2 (diff) |
WinGui:
- User presets and built in presets are now show in seperate colours. User preset's are shown in black and built in are blue.
- Added cancel button to add preset.
- Removed File Menu > Import. This is not required. Users can import old .hb files as text into the query editor if need be.
- Adding a new user preset no longer stores Title and file input/output information. While these were never used, it's a waste of space storing them in the user presets file.
- Added a comfirm dialog for removing presets.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1735 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmAddPreset.cs')
-rw-r--r-- | win/C#/frmAddPreset.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/win/C#/frmAddPreset.cs b/win/C#/frmAddPreset.cs index 1a18c0a17..44e99105d 100644 --- a/win/C#/frmAddPreset.cs +++ b/win/C#/frmAddPreset.cs @@ -30,7 +30,7 @@ namespace Handbrake private void btn_add_Click(object sender, EventArgs e)
{
- String query = hb_common_func.GenerateTheQuery(frmMainWindow);
+ String query = hb_common_func.generateTabbedComponentsQuery(frmMainWindow);
if (presetCode.addPreset(txt_preset_name.Text.Trim(), query) == true)
{
@@ -39,5 +39,10 @@ namespace Handbrake }
}
+ private void btn_cancel_Click(object sender, EventArgs e)
+ {
+ this.Close();
+ }
+
}
}
\ No newline at end of file |