Remove SmartIrc4Net reference from UI project

This commit is contained in:
Hylke Bons 2011-06-02 00:21:36 +01:00
parent 04d63c0a27
commit a12373ea58
2 changed files with 6 additions and 11 deletions

View file

@ -62,10 +62,6 @@
<Reference Include="Mono.Posix">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Meebey.SmartIrc4net, Version=0.4.5.0, Culture=neutral, PublicKeyToken=7868485fbf407e0f">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\bin\Meebey.SmartIrc4net.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="AppDelegate.cs">

View file

@ -1,4 +1,4 @@
// SparkleShare, an instant update workflow to Git.
// SparkleShare, a collaboration and sharing tool.
// Copyright (C) 2010 Hylke Bons <hylkebons@gmail.com>
//
// 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");