intro: rename members to be more descriptive

This commit is contained in:
Hylke 2011-07-02 17:18:43 +01:00
parent 126a987801
commit f53f08a068

View file

@ -34,8 +34,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 PreviousServer;
private String strFolderEntry; private string PreviousFolder;
private Button NextButton; private Button NextButton;
private Button SyncButton; private Button SyncButton;
private bool ServerFormOnly; private bool ServerFormOnly;
@ -178,8 +178,8 @@ namespace SparkleShare {
ServerEntry.Completion.Model = ServerEntryCompletion(); ServerEntry.Completion.Model = ServerEntryCompletion();
ServerEntry.Completion.TextColumn = 0; ServerEntry.Completion.TextColumn = 0;
if (strServerEntry != null) { if (PreviousServer != null) {
ServerEntry.Text = strServerEntry; ServerEntry.Text = PreviousServer;
ServerEntry.ExampleTextActive = false; ServerEntry.ExampleTextActive = false;
} else } else
ServerEntry.ExampleText = _("address-to-server.com"); ServerEntry.ExampleText = _("address-to-server.com");
@ -265,8 +265,8 @@ namespace SparkleShare {
FolderEntry.Completion.Model = FolderEntryCompletion(); FolderEntry.Completion.Model = FolderEntryCompletion();
FolderEntry.Completion.TextColumn = 0; FolderEntry.Completion.TextColumn = 0;
if (strFolderEntry != null) { if (PreviousFolder != null) {
FolderEntry.Text = strFolderEntry; FolderEntry.Text = PreviousFolder;
FolderEntry.ExampleTextActive = false; FolderEntry.ExampleTextActive = false;
} else } else
FolderEntry.ExampleText = _("Folder"); FolderEntry.ExampleText = _("Folder");
@ -290,8 +290,8 @@ namespace SparkleShare {
string server = ServerEntry.Text; string server = ServerEntry.Text;
string canonical_name = System.IO.Path.GetFileNameWithoutExtension (folder_name); string canonical_name = System.IO.Path.GetFileNameWithoutExtension (folder_name);
strServerEntry = ServerEntry.Text; PreviousServer = ServerEntry.Text;
strFolderEntry = FolderEntry.Text; PreviousFolder = FolderEntry.Text;
if (radio_button_gitorious.Active) if (radio_button_gitorious.Active)
server = "gitorious.org"; server = "gitorious.org";
@ -492,8 +492,8 @@ namespace SparkleShare {
UrgencyHint = true; UrgencyHint = true;
strServerEntry = null; PreviousServer = null;
strFolderEntry = null; PreviousFolder = null;
if (!HasToplevelFocus) { if (!HasToplevelFocus) {
string title = String.Format (_("{0} has been successfully added"), folder_name); string title = String.Format (_("{0} has been successfully added"), folder_name);