Fix build with latest MonoMac

This commit is contained in:
Hylke Bons 2011-03-23 22:34:49 +00:00
parent d03ac21bba
commit 6bf6de5cc2
2 changed files with 7 additions and 7 deletions

View file

@ -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);
}); });
}; };

View file

@ -155,7 +155,7 @@ namespace SparkleShare {
} }
public override void Close () public override void PerformClose (NSObject sender)
{ {
OrderOut (this); OrderOut (this);