From a12373ea5898304f3a884adfaaca79feccd26c40 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Thu, 2 Jun 2011 00:21:36 +0100 Subject: [PATCH] Remove SmartIrc4Net reference from UI project --- SparkleShare/Mac/SparkleShare.csproj | 4 ---- SparkleShare/Mac/SparkleUI.cs | 13 ++++++------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/SparkleShare/Mac/SparkleShare.csproj b/SparkleShare/Mac/SparkleShare.csproj index be222c5e..ed0e8248 100644 --- a/SparkleShare/Mac/SparkleShare.csproj +++ b/SparkleShare/Mac/SparkleShare.csproj @@ -62,10 +62,6 @@ False - - False - ..\..\bin\Meebey.SmartIrc4net.dll - diff --git a/SparkleShare/Mac/SparkleUI.cs b/SparkleShare/Mac/SparkleUI.cs index 84a51047..2a970312 100644 --- a/SparkleShare/Mac/SparkleUI.cs +++ b/SparkleShare/Mac/SparkleUI.cs @@ -1,4 +1,4 @@ -// SparkleShare, an instant update workflow to Git. +// SparkleShare, a collaboration and sharing tool. // Copyright (C) 2010 Hylke Bons // // This program is free software: you can redistribute it and/or modify @@ -74,12 +74,11 @@ namespace SparkleShare { // Needed for Growl GrowlApplicationBridge.WeakDelegate = this; - SetSparkleIcon (); + NSApplication.SharedApplication.ApplicationIconImage + = NSImage.ImageNamed ("sparkleshare.icns"); + + SetFolderIcon (); - // TODO: Getting crashes when I remove this - NSApplication.SharedApplication.ApplicationIconImage - = NSImage.ImageNamed ("sparkleshare.icns"); - if (!SparkleShare.Controller.BackendIsPresent) { this.alert = new SparkleAlert (); this.alert.RunModal (); @@ -155,7 +154,7 @@ namespace SparkleShare { } - public void SetSparkleIcon () + public void SetFolderIcon () { string folder_icon_path = Path.Combine (NSBundle.MainBundle.ResourcePath, "sparkleshare-mac.icns");