From 773e833ddd55c26fff6014da1f6f6e021458f992 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 15 May 2011 23:02:00 +0100 Subject: [PATCH] controller: ui: add debug info for lapo --- SparkleShare/SparkleController.cs | 7 +++++++ SparkleShare/SparkleUI.cs | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/SparkleShare/SparkleController.cs b/SparkleShare/SparkleController.cs index 29610371..691c7ee2 100644 --- a/SparkleShare/SparkleController.cs +++ b/SparkleShare/SparkleController.cs @@ -518,6 +518,13 @@ namespace SparkleShare { repo.NewCommit += delegate (SparkleCommit commit, string repository_path) { string message = FormatMessage (commit); + Console.WriteLine ("===== ARGUMENTS: ====="); + Console.WriteLine ("[0]" + commit.UserName); + Console.WriteLine ("[0]" + commit.UserEmail); + Console.WriteLine ("[0]" + message); + Console.WriteLine ("[0]" + repository_path); + Console.WriteLine ("======================"); + if (NotificationRaised != null) NotificationRaised (commit.UserName, commit.UserEmail, message, repository_path); }; diff --git a/SparkleShare/SparkleUI.cs b/SparkleShare/SparkleUI.cs index df9dd3c5..29273a43 100644 --- a/SparkleShare/SparkleUI.cs +++ b/SparkleShare/SparkleUI.cs @@ -95,6 +95,13 @@ namespace SparkleShare { AddEventLog (repository_path); }); + Console.WriteLine ("***** ARGUMENTS: *****"); + Console.WriteLine ("[0]" + user_name); + Console.WriteLine ("[0]" + user_email); + Console.WriteLine ("[0]" + message); + Console.WriteLine ("[0]" + repository_path); + Console.WriteLine ("**********************"); + bubble.Show (); }); };