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