Oops, wrong UI toolkit

This commit is contained in:
Hylke Bons 2011-09-20 19:19:17 +01:00
parent 8ba23a6d11
commit 909a7dad6a
2 changed files with 10 additions and 9 deletions

View file

@ -301,7 +301,7 @@ namespace SparkleShare {
MaxValue = 100.0 MaxValue = 100.0
}; };
// ProgressIndicator.StartAnimation (this); ProgressIndicator.StartAnimation (this);
Controller.UpdateProgressBarEvent += delegate (double percentage) { Controller.UpdateProgressBarEvent += delegate (double percentage) {
InvokeOnMainThread (delegate { InvokeOnMainThread (delegate {
@ -379,6 +379,8 @@ namespace SparkleShare {
NSApplication.SharedApplication.RequestUserAttention NSApplication.SharedApplication.RequestUserAttention
(NSRequestUserAttentionType.CriticalRequest); (NSRequestUserAttentionType.CriticalRequest);
NSSound.FromName ("Glass").Play ();
break; break;
} }
} }

View file

@ -396,7 +396,6 @@ namespace SparkleShare {
case PageType.Finished: { case PageType.Finished: {
UrgencyHint = true; UrgencyHint = true;
NSSound.FromName ("Glass").Play ();
if (!HasToplevelFocus) { if (!HasToplevelFocus) {
string title = String.Format (_("{0} has been successfully added"), Controller.SyncingFolder); string title = String.Format (_("{0} has been successfully added"), Controller.SyncingFolder);