Getting ready to list up previously used servers and folders
This commit is contained in:
parent
80db6b691d
commit
a0548cb9ed
|
@ -20,6 +20,7 @@ using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Timers;
|
using System.Timers;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
using Gtk;
|
using Gtk;
|
||||||
using Mono.Unix;
|
using Mono.Unix;
|
||||||
|
@ -173,6 +174,7 @@ namespace SparkleShare {
|
||||||
HBox layout_server = new HBox (true, 0);
|
HBox layout_server = new HBox (true, 0);
|
||||||
|
|
||||||
ServerEntry = new SparkleEntry () { };
|
ServerEntry = new SparkleEntry () { };
|
||||||
|
//List<string> Urls = SparkleLib.SparkleConfig.DefaultConfig.GetUrls();
|
||||||
|
|
||||||
if (0 < strServerEntry.Trim().Length) {
|
if (0 < strServerEntry.Trim().Length) {
|
||||||
ServerEntry.Text = strServerEntry;
|
ServerEntry.Text = strServerEntry;
|
||||||
|
@ -257,6 +259,10 @@ namespace SparkleShare {
|
||||||
HBox layout_folder = new HBox (true, 0);
|
HBox layout_folder = new HBox (true, 0);
|
||||||
|
|
||||||
FolderEntry = new SparkleEntry () { };
|
FolderEntry = new SparkleEntry () { };
|
||||||
|
/* retrieve folders
|
||||||
|
foreach (string folder_name in SparkleLib.SparkleConfig.DefaultConfig.Folders) {
|
||||||
|
string folder_path = folder_name;
|
||||||
|
} */
|
||||||
|
|
||||||
if (0 < strFolderEntry.Trim().Length) {
|
if (0 < strFolderEntry.Trim().Length) {
|
||||||
FolderEntry.Text = strFolderEntry;
|
FolderEntry.Text = strFolderEntry;
|
||||||
|
|
Loading…
Reference in a new issue