Oops, wrong UI toolkit
This commit is contained in:
parent
8ba23a6d11
commit
909a7dad6a
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue