From 0c3d7e8a370249ef6a16acc0ed0e29dc7e82a8d3 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Tue, 8 Feb 2011 01:53:57 +0000 Subject: [PATCH] [ui] Bounce dock icon once on new event --- SparkleShare/Mac/SparkleShare/SparkleUI.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SparkleShare/Mac/SparkleShare/SparkleUI.cs b/SparkleShare/Mac/SparkleShare/SparkleUI.cs index 5022e832..0e906321 100644 --- a/SparkleShare/Mac/SparkleShare/SparkleUI.cs +++ b/SparkleShare/Mac/SparkleShare/SparkleUI.cs @@ -67,6 +67,9 @@ namespace SparkleShare { foreach (SparkleLog log in SparkleUI.OpenLogs) log.UpdateEventLog (); + NSApplication.SharedApplication.RequestUserAttention + (NSRequestUserAttentionType.InformationalRequest); + }); }; @@ -94,6 +97,8 @@ namespace SparkleShare { }; + + }