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");
|
||||
|
||||
SetFolderIcon ();
|
||||
NSWorkspace.SharedWorkspace.SetIconforFile (NSImage.ImageNamed ("sparkleshare-folder.icns"),
|
||||
Program.Controller.FoldersPath, 0);
|
||||
|
||||
Setup = new SparkleSetup ();
|
||||
EventLog = new SparkleEventLog ();
|
||||
|
@ -63,16 +64,6 @@ namespace SparkleShare {
|
|||
}
|
||||
|
||||
|
||||
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 ()
|
||||
{
|
||||
NSApplication.Main (new string [0]);
|
||||
|
|
Loading…
Reference in a new issue