fix Add dialog
This commit is contained in:
parent
5dddb36345
commit
2aa7576a84
|
@ -64,6 +64,7 @@ namespace SparkleShare {
|
||||||
RemoteUrlCombo.Entry.Completion.InlineCompletion = true;
|
RemoteUrlCombo.Entry.Completion.InlineCompletion = true;
|
||||||
RemoteUrlCombo.Entry.Completion.PopupCompletion = true;;
|
RemoteUrlCombo.Entry.Completion.PopupCompletion = true;;
|
||||||
RemoteUrlCombo.Entry.Completion.TextColumn = 0;
|
RemoteUrlCombo.Entry.Completion.TextColumn = 0;
|
||||||
|
RemoteUrlCombo.TextColumn = 0;
|
||||||
|
|
||||||
Defaults.AppendValues ("ssh://git@github.com/",
|
Defaults.AppendValues ("ssh://git@github.com/",
|
||||||
SparkleHelpers.GetIcon ("github", 16));
|
SparkleHelpers.GetIcon ("github", 16));
|
||||||
|
@ -133,6 +134,12 @@ namespace SparkleShare {
|
||||||
else
|
else
|
||||||
RepoName = RepoRemoteUrl.Substring (ColumnPos + 1);
|
RepoName = RepoRemoteUrl.Substring (ColumnPos + 1);
|
||||||
|
|
||||||
|
SparkleBubble SparkleBubble =
|
||||||
|
new SparkleBubble (_("Syncing folder ‘") + RepoName + "’",
|
||||||
|
_("SparkleShare will notify you when this is done."));
|
||||||
|
|
||||||
|
HideAll ();
|
||||||
|
|
||||||
Process Process = new Process();
|
Process Process = new Process();
|
||||||
Process.EnableRaisingEvents = true;
|
Process.EnableRaisingEvents = true;
|
||||||
Process.StartInfo.RedirectStandardOutput = true;
|
Process.StartInfo.RedirectStandardOutput = true;
|
||||||
|
@ -142,14 +149,7 @@ namespace SparkleShare {
|
||||||
Process.StartInfo.FileName = "git";
|
Process.StartInfo.FileName = "git";
|
||||||
Process.StartInfo.WorkingDirectory = SparklePaths.SparkleTmpPath;
|
Process.StartInfo.WorkingDirectory = SparklePaths.SparkleTmpPath;
|
||||||
Process.StartInfo.Arguments = "clone ";
|
Process.StartInfo.Arguments = "clone ";
|
||||||
Process.StartInfo.Arguments +=
|
Process.StartInfo.Arguments += RepoRemoteUrl;
|
||||||
SparkleHelpers.CombineMore (RepoRemoteUrl, RepoName).Substring (2);
|
|
||||||
|
|
||||||
SparkleBubble SparkleBubble =
|
|
||||||
new SparkleBubble (_("Syncing folder ‘") + RepoName + "’",
|
|
||||||
_("SparkleShare will notify you when this is done."));
|
|
||||||
|
|
||||||
Hide ();
|
|
||||||
|
|
||||||
Process.WaitForExit ();
|
Process.WaitForExit ();
|
||||||
Process.Start ();
|
Process.Start ();
|
||||||
|
|
Loading…
Reference in a new issue