Last minute changes to the beta release.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@94 59da171f-624f-0410-aa54-27559c288bec
This commit is contained in:
kenneth.skovhede@gmail.com
2009-02-18 19:08:05 +00:00
parent f4010c0520
commit 9ee9f463da
3 changed files with 9 additions and 3 deletions
@@ -112,7 +112,7 @@ namespace Duplicati.GUI.Wizard_pages.Backends.File
return;
}
m_wrapper.Path = TargetFolder.Text;
m_wrapper.Path = targetpath;
if (UseCredentials.Checked)
{
m_wrapper.Username = Username.Text;
+1 -1
View File
@@ -63,7 +63,7 @@ namespace Duplicati.GUI.Wizard_pages
m_owner.ButtonPanel.Controls.Add(ShowAdvanced);
ShowAdvanced.Top = m_owner.CancelButton.Top;
ShowAdvanced.Left = m_owner.ButtonPanel.Width - m_owner.CancelButton.Right;
ShowAdvanced.Visible = true;
ShowAdvanced.Visible = false; //true;
args.TreatAsLast = false;
}
+7 -1
View File
@@ -27,6 +27,11 @@ namespace Duplicati.Library.Core
{
public static long ParseSize(string size, string defaultSuffix)
{
if (string.IsNullOrEmpty(size))
return 0;
size = size.ToLower().Trim();
if (size.EndsWith("gb") || size.EndsWith("mb") || size.EndsWith("kb") || size.EndsWith("b"))
return ParseSize(size);
else
@@ -35,8 +40,9 @@ namespace Duplicati.Library.Core
public static long ParseSize(string size)
{
if (size == null)
if (string.IsNullOrEmpty(size))
return 0;
string origsize = size;
size = size.Trim().ToLower();