summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-08-08 17:12:50 +0000
committersr55 <[email protected]>2009-08-08 17:12:50 +0000
commit37f17b20c0534197156407810371eaa94a95e41e (patch)
treefa40e4275aeb3c12a3206bd34de5cb2582d0c25e
parentbb14bae8d88bc57be47531492f402d0c114fbd66 (diff)
WinGui:
- Improved some error messages. - Updated Installer Script git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2755 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--win/C#/HandBrakeCS.csproj2
-rw-r--r--win/C#/frmMain.cs8
-rw-r--r--win/C#/frmOptions.Designer.cs3
-rw-r--r--win/C#/frmOptions.resx3
4 files changed, 8 insertions, 8 deletions
diff --git a/win/C#/HandBrakeCS.csproj b/win/C#/HandBrakeCS.csproj
index 9f1667cb9..9cd0c7430 100644
--- a/win/C#/HandBrakeCS.csproj
+++ b/win/C#/HandBrakeCS.csproj
@@ -78,6 +78,8 @@
<PlatformTarget>x86</PlatformTarget>
<OutputPath>bin\x86\Release\</OutputPath>
<UseVSHostingProcess>false</UseVSHostingProcess>
+ <DefineConstants>TRACE;DEBUG</DefineConstants>
+ <Optimize>true</Optimize>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Build|AnyCPU' ">
<OutputPath>bin\Build\</OutputPath>
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index dd612e212..584764f88 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -157,7 +157,7 @@ namespace Handbrake
catch (Exception ex)
{
if ((bool)result.AsyncState)
- MessageBox.Show("Unable to check for updates, Please try again later. \n" + ex, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ MessageBox.Show("Unable to check for updates, Please try again later.\n\nDetailed Error Information:\n" + ex, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
@@ -279,7 +279,7 @@ namespace Handbrake
if (fileList[0].StartsWith("\\"))
{
MessageBox.Show(
- "Sorry, HandBrake does not support UNC file paths. \nTry mounting the share as a network drive in My Computer",
+ "Sorry, HandBrake does not support UNC file paths. \nTry mounting the network share as a network drive in My Computer",
"Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
UpdateSourceLabel();
}
@@ -451,7 +451,7 @@ namespace Handbrake
catch (Exception ex)
{
if ((bool)result.AsyncState)
- MessageBox.Show("Unable to check for updates, Please try again later. \n" + ex, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ MessageBox.Show("Unable to check for updates, Please try again later.\n\nDetailed Error Information:\n" + ex, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
private void mnu_about_Click(object sender, EventArgs e)
@@ -935,7 +935,7 @@ namespace Handbrake
if (autoPath != null)
text_destination.Text = autoPath;
else
- MessageBox.Show("You currently have automatic file naming enabled for the destination box, but you do not have a default direcotry set. You should set this in the program options (see Tools Menu)", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+ MessageBox.Show("You currently have \"Automatically name output files\" enabled for the destination file box, but you do not have a default direcotry set.\n\nYou should set a \"Default Path\" in HandBrakes preferences. (See 'Tools' menu -> 'Options' -> 'General' Tab -> 'Default Path')", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
data_chpt.Rows.Clear();
diff --git a/win/C#/frmOptions.Designer.cs b/win/C#/frmOptions.Designer.cs
index 231a23d69..ec7065e5f 100644
--- a/win/C#/frmOptions.Designer.cs
+++ b/win/C#/frmOptions.Designer.cs
@@ -404,7 +404,8 @@ namespace Handbrake
this.text_an_path.Name = "text_an_path";
this.text_an_path.Size = new System.Drawing.Size(293, 21);
this.text_an_path.TabIndex = 76;
- this.ToolTip.SetToolTip(this.text_an_path, "The default location where auto named files are stored.");
+ this.ToolTip.SetToolTip(this.text_an_path, "This is the default location where your encoded files will be stored if \"Automati" +
+ "cally name output files\" is enabled.");
this.text_an_path.TextChanged += new System.EventHandler(this.text_an_path_TextChanged);
//
// label10
diff --git a/win/C#/frmOptions.resx b/win/C#/frmOptions.resx
index 427cdd964..139d8245b 100644
--- a/win/C#/frmOptions.resx
+++ b/win/C#/frmOptions.resx
@@ -120,9 +120,6 @@
<metadata name="ToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>132, 18</value>
</metadata>
- <metadata name="ToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>132, 18</value>
- </metadata>
<metadata name="pathFinder.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>