From 51758c53850f101f2921faa4c7066bfe0657123e Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 19 Feb 2012 21:32:45 +0100 Subject: [PATCH] bubbles: Only show event log on user click --- SparkleShare/SparkleBubbles.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SparkleShare/SparkleBubbles.cs b/SparkleShare/SparkleBubbles.cs index 1c2851d8..8fbbab6f 100755 --- a/SparkleShare/SparkleBubbles.cs +++ b/SparkleShare/SparkleBubbles.cs @@ -43,8 +43,9 @@ namespace SparkleShare { else notification.IconName = "folder-sparkleshare"; - notification.Closed += delegate { - Controller.BubbleClicked (); + notification.Closed += delegate (object o, EventArgs args) { + if ((args as CloseArgs).Reason == CloseReason.User) + Controller.BubbleClicked (); }; notification.Show ();