From bed2b24fff6e9490d961b38d4765985177f26778 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 23 Oct 2011 15:31:28 +0100 Subject: [PATCH] Open event log on bubble click --- SparkleShare/SparkleBubbles.cs | 12 ++++++++++++ SparkleShare/SparkleShare.csproj | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) mode change 100755 => 100644 SparkleShare/SparkleShare.csproj diff --git a/SparkleShare/SparkleBubbles.cs b/SparkleShare/SparkleBubbles.cs index 8b29622b..e481c566 100755 --- a/SparkleShare/SparkleBubbles.cs +++ b/SparkleShare/SparkleBubbles.cs @@ -41,6 +41,18 @@ namespace SparkleShare { else notification.IconName = "folder-sparkleshare"; + notification.Closed += delegate { + Application.Invoke (delegate { + if (SparkleUI.EventLog == null) + SparkleUI.EventLog = new SparkleEventLog (); + + SparkleUI.EventLog.Controller.SelectedFolder = null; + + SparkleUI.EventLog.ShowAll (); + SparkleUI.EventLog.Present (); + }); + }; + notification.Show (); } catch (Exception) { diff --git a/SparkleShare/SparkleShare.csproj b/SparkleShare/SparkleShare.csproj old mode 100755 new mode 100644 index 74a4e64c..dca42164 --- a/SparkleShare/SparkleShare.csproj +++ b/SparkleShare/SparkleShare.csproj @@ -9,7 +9,6 @@ SparkleShare 2.0 SparkleShare - v3.5 true @@ -37,6 +36,9 @@ + + False +