[mac] Fix some warnings and errors

This commit is contained in:
Hylke Bons 2011-02-05 16:26:40 +00:00
parent 4f883f4d87
commit d4e20c654e
3 changed files with 3 additions and 2 deletions

View file

@ -213,7 +213,7 @@ namespace SparkleShare {
SyncMenuItem.Enabled = false;
SyncMenuItem.Activated += delegate {
SparkleWindow w = new SparkleWindow ();
new SparkleWindow ();
};
Menu.AddItem (SyncMenuItem);

View file

@ -44,7 +44,7 @@ namespace SparkleShare {
NSApplication.Init ();
NSApplication.SharedApplication.applicationIconImage
NSApplication.SharedApplication.ApplicationIconImage
= NSImage.ImageNamed ("sparkleshare.icns");
OpenLogs = new List <SparkleLog> ();

View file

@ -56,6 +56,7 @@ namespace SparkleShare {
ContentView.AddSubview (new NSImageView (new RectangleF (0, 0, 150, 480)) { Image = SideSplash});
ContentView.AddSubview (new NSTextField (new RectangleF (200, 100, 128, 31)) { BezelStyle = NSTextFieldBezelStyle.Rounded});
ContentView.AddSubview (tv);