adjust some paddings in intro and add some debuginfo to fetcher

This commit is contained in:
Hylke Bons 2010-08-01 19:30:20 +01:00
parent 8e580f2f82
commit 84fc770b58
2 changed files with 5 additions and 14 deletions

View file

@ -66,8 +66,7 @@ namespace SparkleShare {
process.Exited += delegate {
Console.WriteLine (process.ExitTime.ToString ());
Console.WriteLine (process.ExitCode);
SparkleHelpers.DebugInfo ("Git", "Exit code " + process.ExitCode.ToString ());
if (process.ExitCode != 0) {
@ -110,16 +109,8 @@ namespace SparkleShare {
string repo_config_file_path = SparkleHelpers.CombineMore (TargetFolder, ".git", "config");
reader = new StreamReader (repo_config_file_path);
string repo_info = reader.ReadToEnd ();
reader.Close ();
File.Delete (repo_config_file_path);
string new_repo_info = repo_info + "\n" + user_info;
TextWriter writer = new StreamWriter (repo_config_file_path);
writer.WriteLine (new_repo_info);
TextWriter writer = File.AppendText (repo_config_file_path);
writer.WriteLine (user_info);
writer.Close ();
SparkleHelpers.DebugInfo ("Config", "Added user info to '" + repo_config_file_path + "'");

View file

@ -498,7 +498,7 @@ namespace SparkleShare {
controls.Add (try_again_button);
layout_vertical.PackStart (header, false, false, 0);
layout_vertical.PackStart (information, false, false, 3);
layout_vertical.PackStart (information, false, false, 0);
wrapper.PackStart (layout_vertical, true, true, 0);
wrapper.PackStart (controls, false, true, 0);
@ -564,7 +564,7 @@ namespace SparkleShare {
controls.Add (finish_button);
layout_vertical.PackStart (header, false, false, 0);
layout_vertical.PackStart (information, false, false, 3);
layout_vertical.PackStart (information, false, false, 0);
wrapper.PackStart (layout_vertical, true, true, 0);
wrapper.PackStart (controls, false, true, 0);