mac ui: remove method
This commit is contained in:
parent
168ba90113
commit
1fb1ef2656
|
@ -50,7 +50,8 @@ namespace SparkleShare {
|
||||||
|
|
||||||
NSApplication.SharedApplication.ApplicationIconImage = NSImage.ImageNamed ("sparkleshare-app.icns");
|
NSApplication.SharedApplication.ApplicationIconImage = NSImage.ImageNamed ("sparkleshare-app.icns");
|
||||||
|
|
||||||
SetFolderIcon ();
|
NSWorkspace.SharedWorkspace.SetIconforFile (NSImage.ImageNamed ("sparkleshare-folder.icns"),
|
||||||
|
Program.Controller.FoldersPath, 0);
|
||||||
|
|
||||||
Setup = new SparkleSetup ();
|
Setup = new SparkleSetup ();
|
||||||
EventLog = new SparkleEventLog ();
|
EventLog = new SparkleEventLog ();
|
||||||
|
@ -61,16 +62,6 @@ namespace SparkleShare {
|
||||||
Program.Controller.UIHasLoaded ();
|
Program.Controller.UIHasLoaded ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void SetFolderIcon ()
|
|
||||||
{
|
|
||||||
using (var a = new NSAutoreleasePool ())
|
|
||||||
{
|
|
||||||
NSImage folder_icon = NSImage.ImageNamed ("sparkleshare-folder.icns");
|
|
||||||
NSWorkspace.SharedWorkspace.SetIconforFile (folder_icon, Program.Controller.FoldersPath, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public void Run ()
|
public void Run ()
|
||||||
|
|
Loading…
Reference in a new issue