bubbles: Only show event log on user click

This commit is contained in:
Hylke Bons 2012-02-19 21:32:45 +01:00
parent ff55094651
commit 51758c5385

View file

@ -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 ();