Fix build with latest MonoMac
This commit is contained in:
parent
d03ac21bba
commit
6bf6de5cc2
|
@ -149,7 +149,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
|
|
||||||
ServerTypeLabel = new NSTextField () {
|
ServerTypeLabel = new NSTextField () {
|
||||||
Alignment = (uint) NSTextAlignment.Right,
|
Alignment = NSTextAlignment.Right,
|
||||||
BackgroundColor = NSColor.WindowBackground,
|
BackgroundColor = NSColor.WindowBackground,
|
||||||
Bordered = false,
|
Bordered = false,
|
||||||
Editable = false,
|
Editable = false,
|
||||||
|
@ -159,7 +159,7 @@ namespace SparkleShare {
|
||||||
};
|
};
|
||||||
|
|
||||||
AddressLabel = new NSTextField () {
|
AddressLabel = new NSTextField () {
|
||||||
Alignment = (uint) NSTextAlignment.Right,
|
Alignment = NSTextAlignment.Right,
|
||||||
BackgroundColor = NSColor.WindowBackground,
|
BackgroundColor = NSColor.WindowBackground,
|
||||||
Bordered = false,
|
Bordered = false,
|
||||||
Editable = false,
|
Editable = false,
|
||||||
|
@ -169,7 +169,7 @@ namespace SparkleShare {
|
||||||
};
|
};
|
||||||
|
|
||||||
FolderNameLabel = new NSTextField () {
|
FolderNameLabel = new NSTextField () {
|
||||||
Alignment = (uint) NSTextAlignment.Right,
|
Alignment = NSTextAlignment.Right,
|
||||||
BackgroundColor = NSColor.WindowBackground,
|
BackgroundColor = NSColor.WindowBackground,
|
||||||
Bordered = false,
|
Bordered = false,
|
||||||
Editable = false,
|
Editable = false,
|
||||||
|
@ -395,7 +395,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
CancelButton.Activated += delegate {
|
CancelButton.Activated += delegate {
|
||||||
InvokeOnMainThread (delegate {
|
InvokeOnMainThread (delegate {
|
||||||
Close ();
|
PerformClose (this);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -498,7 +498,7 @@ namespace SparkleShare {
|
||||||
FinishButton.Activated += delegate {
|
FinishButton.Activated += delegate {
|
||||||
InvokeOnMainThread (delegate {
|
InvokeOnMainThread (delegate {
|
||||||
SparkleUI.StatusIcon.CreateMenu ();
|
SparkleUI.StatusIcon.CreateMenu ();
|
||||||
Close ();
|
PerformClose (this);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -541,7 +541,7 @@ namespace SparkleShare {
|
||||||
FinishButton.Activated += delegate {
|
FinishButton.Activated += delegate {
|
||||||
InvokeOnMainThread (delegate {
|
InvokeOnMainThread (delegate {
|
||||||
SparkleUI.StatusIcon.CreateMenu ();
|
SparkleUI.StatusIcon.CreateMenu ();
|
||||||
Close ();
|
PerformClose (this);
|
||||||
});
|
});
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -155,7 +155,7 @@ namespace SparkleShare {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override void Close ()
|
public override void PerformClose (NSObject sender)
|
||||||
{
|
{
|
||||||
|
|
||||||
OrderOut (this);
|
OrderOut (this);
|
||||||
|
|
Loading…
Reference in a new issue