[mac] Fix some warnings and errors
This commit is contained in:
parent
d959a5a78f
commit
a6d2e0ce93
|
@ -213,7 +213,7 @@ namespace SparkleShare {
|
|||
SyncMenuItem.Enabled = false;
|
||||
|
||||
SyncMenuItem.Activated += delegate {
|
||||
SparkleWindow w = new SparkleWindow ();
|
||||
new SparkleWindow ();
|
||||
};
|
||||
|
||||
Menu.AddItem (SyncMenuItem);
|
||||
|
|
|
@ -44,7 +44,7 @@ namespace SparkleShare {
|
|||
|
||||
NSApplication.Init ();
|
||||
|
||||
NSApplication.SharedApplication.applicationIconImage
|
||||
NSApplication.SharedApplication.ApplicationIconImage
|
||||
= NSImage.ImageNamed ("sparkleshare.icns");
|
||||
|
||||
OpenLogs = new List <SparkleLog> ();
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue