diff options
author | sr55 <[email protected]> | 2009-06-26 15:23:53 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-06-26 15:23:53 +0000 |
commit | e7b1cb58bd6939a48469d4c23062cd48d2b82d0b (patch) | |
tree | f8c219329898d3c3f523390b8c308423192ee6f1 /win/C#/frmOptions.cs | |
parent | f34a12947c422484c04a7f3bf12120996c7f293e (diff) |
WinGui:
- Right Click menu for subtitles Panel. Move Up/Down and remove options.
- Confirmation dialog for the new clear logs option.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2627 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmOptions.cs')
-rw-r--r-- | win/C#/frmOptions.cs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs index de739781b..7529291e2 100644 --- a/win/C#/frmOptions.cs +++ b/win/C#/frmOptions.cs @@ -212,6 +212,7 @@ namespace Handbrake {
Properties.Settings.Default.saveLogWithVideo = check_saveLogWithVideo.Checked;
}
+
private void check_logsInSpecifiedLocation_CheckedChanged(object sender, EventArgs e)
{
Properties.Settings.Default.saveLogToSpecifiedPath = check_logsInSpecifiedLocation.Checked;
@@ -242,9 +243,13 @@ namespace Handbrake private void btn_clearLogs_Click(object sender, EventArgs e)
{
- Main.clearLogs();
- MessageBox.Show(this, "HandBrake's Log file directory has been cleared!", "Notice", MessageBoxButtons.OK,
- MessageBoxIcon.Information);
+ DialogResult result = MessageBox.Show("Are you sure you wish to clear the log file directory?", "Clear Logs", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question);
+ if (result == DialogResult.Yes)
+ {
+ Main.clearLogs();
+ MessageBox.Show(this, "HandBrake's Log file directory has been cleared!", "Notice", MessageBoxButtons.OK,
+ MessageBoxIcon.Information);
+ }
}
#endregion
|