From 91790e2164bd84c7e8a3300992b592f7b81b30f8 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sat, 29 May 2010 16:37:07 +0200 Subject: [PATCH] add some comments --- SparkleShare/SparkleDialog.cs | 4 +++- SparkleShare/SparkleRepo.cs | 4 +--- SparkleShare/SparkleUI.cs | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/SparkleShare/SparkleDialog.cs b/SparkleShare/SparkleDialog.cs index 442238b9..8f9a893b 100644 --- a/SparkleShare/SparkleDialog.cs +++ b/SparkleShare/SparkleDialog.cs @@ -61,6 +61,7 @@ namespace SparkleShare { RemoteUrlCombo.Entry.Completion.Model = Defaults; RemoteUrlCombo.Entry.Completion.PackStart (CellRendererPixbuf, false); RemoteUrlCombo.Entry.Completion.AddAttribute (CellRendererPixbuf, "pixbuf", 1); + // TODO: The combobox arrow should be clickable RemoteUrlCombo.Entry.Completion.InlineCompletion = true; RemoteUrlCombo.Entry.Completion.PopupCompletion = true;; RemoteUrlCombo.Entry.Completion.TextColumn = 0; @@ -97,8 +98,9 @@ namespace SparkleShare { RemoteUrlCombo.Entry.Changed += CheckFields; RemoteUrlCombo.WidthRequest = 320; - AddButton.Sensitive = false; + // TODO: This freezes the UI AddButton.Clicked += CloneRepo; + AddButton.Sensitive = false; ButtonBox.Add (CancelButton); ButtonBox.Add (AddButton); diff --git a/SparkleShare/SparkleRepo.cs b/SparkleShare/SparkleRepo.cs index c3442b38..e0ad7175 100644 --- a/SparkleShare/SparkleRepo.cs +++ b/SparkleShare/SparkleRepo.cs @@ -277,15 +277,13 @@ namespace SparkleShare { SparkleHelpers.GetIcon ("folder-sparkleshare", 48), true); - } } Add (); - Process.StartInfo.Arguments - = "rebase --continue"; + Process.StartInfo.Arguments = "rebase --continue"; Process.WaitForExit (); Process.Start(); Console.WriteLine ("[Git][" + Name + "] Conflict resolved."); diff --git a/SparkleShare/SparkleUI.cs b/SparkleShare/SparkleUI.cs index 58857347..dca53d95 100644 --- a/SparkleShare/SparkleUI.cs +++ b/SparkleShare/SparkleUI.cs @@ -135,6 +135,8 @@ namespace SparkleShare { } + // TODO: When a repo folder is deleted, don't sync and update the UI + // Watch the SparkleShare folder and pop up the // Add dialog when a new folder is created // TODO: This crashes