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 else
notification.IconName = "folder-sparkleshare"; notification.IconName = "folder-sparkleshare";
notification.Closed += delegate { notification.Closed += delegate (object o, EventArgs args) {
Controller.BubbleClicked (); if ((args as CloseArgs).Reason == CloseReason.User)
Controller.BubbleClicked ();
}; };
notification.Show (); notification.Show ();