Removed new configvariables. Added "global" strings to keep servername untill we're done.
This commit is contained in:
parent
046199428b
commit
aede98cba8
|
@ -33,6 +33,8 @@ namespace SparkleShare {
|
||||||
private Entry EmailEntry;
|
private Entry EmailEntry;
|
||||||
private SparkleEntry ServerEntry;
|
private SparkleEntry ServerEntry;
|
||||||
private SparkleEntry FolderEntry;
|
private SparkleEntry FolderEntry;
|
||||||
|
private String strServerEntry = "";
|
||||||
|
private String strFolderEntry = "";
|
||||||
private Button NextButton;
|
private Button NextButton;
|
||||||
private Button SyncButton;
|
private Button SyncButton;
|
||||||
private bool ServerFormOnly;
|
private bool ServerFormOnly;
|
||||||
|
@ -172,11 +174,11 @@ namespace SparkleShare {
|
||||||
|
|
||||||
ServerEntry = new SparkleEntry () { };
|
ServerEntry = new SparkleEntry () { };
|
||||||
|
|
||||||
if (0 < SparkleShare.Controller.PrevServer.Length) {
|
if (0 < strServerEntry.Trim().Length) {
|
||||||
ServerEntry.Text = SparkleShare.Controller.PrevServer.Trim();
|
ServerEntry.Text = strServerEntry;
|
||||||
ServerEntry.ExampleTextActive = false;
|
ServerEntry.ExampleTextActive = false;
|
||||||
} else
|
} else
|
||||||
ServerEntry.ExampleText = _("address-to-server.com");
|
ServerEntry.ExampleText = _("user@address-to-server.com");
|
||||||
|
|
||||||
ServerEntry.Changed += CheckServerForm;
|
ServerEntry.Changed += CheckServerForm;
|
||||||
|
|
||||||
|
@ -256,8 +258,8 @@ namespace SparkleShare {
|
||||||
|
|
||||||
FolderEntry = new SparkleEntry () { };
|
FolderEntry = new SparkleEntry () { };
|
||||||
|
|
||||||
if (0 < SparkleShare.Controller.PrevFolder.Length) {
|
if (0 < strFolderEntry.Trim().Length) {
|
||||||
FolderEntry.Text = SparkleShare.Controller.PrevFolder.Trim();
|
FolderEntry.Text = strFolderEntry;
|
||||||
FolderEntry.ExampleTextActive = false;
|
FolderEntry.ExampleTextActive = false;
|
||||||
} else
|
} else
|
||||||
FolderEntry.ExampleText = _("Folder");
|
FolderEntry.ExampleText = _("Folder");
|
||||||
|
|
Loading…
Reference in a new issue