From a0548cb9ed570021ec88b6ae5a9f025bfd6bf5e2 Mon Sep 17 00:00:00 2001 From: Lars Falk-Petersen Date: Sat, 2 Jul 2011 13:30:20 +0200 Subject: [PATCH] Getting ready to list up previously used servers and folders --- SparkleShare/SparkleIntro.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SparkleShare/SparkleIntro.cs b/SparkleShare/SparkleIntro.cs index 51680077..c4a480c1 100644 --- a/SparkleShare/SparkleIntro.cs +++ b/SparkleShare/SparkleIntro.cs @@ -20,6 +20,7 @@ using System.Diagnostics; using System.IO; using System.Text.RegularExpressions; using System.Timers; +using System.Collections.Generic; using Gtk; using Mono.Unix; @@ -173,6 +174,7 @@ namespace SparkleShare { HBox layout_server = new HBox (true, 0); ServerEntry = new SparkleEntry () { }; + //List Urls = SparkleLib.SparkleConfig.DefaultConfig.GetUrls(); if (0 < strServerEntry.Trim().Length) { ServerEntry.Text = strServerEntry; @@ -257,6 +259,10 @@ namespace SparkleShare { HBox layout_folder = new HBox (true, 0); FolderEntry = new SparkleEntry () { }; + /* retrieve folders + foreach (string folder_name in SparkleLib.SparkleConfig.DefaultConfig.Folders) { + string folder_path = folder_name; + } */ if (0 < strFolderEntry.Trim().Length) { FolderEntry.Text = strFolderEntry;