From: Miltiadis Vasilakis Date: Thu, 3 Nov 2011 18:07:07 +0000 (+0200) Subject: Using pithos icon for the status bar. X-Git-Tag: v0.1~25 X-Git-Url: https://code.grnet.gr/git/pithos-macos/commitdiff_plain/72c9d681ba271bad68c8d2226df563244346f596 Using pithos icon for the status bar. --- diff --git a/Icons/pithos-large.png b/Icons/pithos-large.png new file mode 100644 index 0000000..97f263e Binary files /dev/null and b/Icons/pithos-large.png differ diff --git a/pithos-macos.xcodeproj/project.pbxproj b/pithos-macos.xcodeproj/project.pbxproj index 63d35d2..4985bc2 100644 --- a/pithos-macos.xcodeproj/project.pbxproj +++ b/pithos-macos.xcodeproj/project.pbxproj @@ -51,7 +51,6 @@ 6152D092143334CC00803874 /* AllowedToBoolTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = 6152D091143334CC00803874 /* AllowedToBoolTransformer.m */; }; 6152D095143334E000803874 /* SharingAccountBoolTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = 6152D094143334E000803874 /* SharingAccountBoolTransformer.m */; }; 6154BF4B145554D600EE353A /* pithos-logo-small.png in Resources */ = {isa = PBXBuildFile; fileRef = 6154BF4A145554D600EE353A /* pithos-logo-small.png */; }; - 6154BF4D145558E300EE353A /* pithos.icns in Resources */ = {isa = PBXBuildFile; fileRef = 6154BF4C145558E300EE353A /* pithos.icns */; }; 6154BF501456A83200EE353A /* UsingSizeTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = 6154BF4F1456A83100EE353A /* UsingSizeTransformer.m */; }; 6154BF531456EE4900EE353A /* DirPathFileURLTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = 6154BF521456EE4700EE353A /* DirPathFileURLTransformer.m */; }; 615615DD140CECDB00017BD4 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 615615DC140CECDB00017BD4 /* libz.dylib */; }; @@ -61,6 +60,8 @@ 616FC0AF13F91BA400140A33 /* PithosObjectNodeInfoController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 616FC0AE13F91BA400140A33 /* PithosObjectNodeInfoController.xib */; }; 616FC0B313F97D0800140A33 /* PithosNodeInfoController.m in Sources */ = {isa = PBXBuildFile; fileRef = 616FC0B213F97D0800140A33 /* PithosNodeInfoController.m */; }; 617460F1140BE45C00D333A1 /* BytesExtendedSizeTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = 617460F0140BE45C00D333A1 /* BytesExtendedSizeTransformer.m */; }; + 617A430C14630A3100DAB367 /* pithos.icns in Resources */ = {isa = PBXBuildFile; fileRef = 617A430B14630A3100DAB367 /* pithos.icns */; }; + 617A431114630CD900DAB367 /* pithos-large.png in Resources */ = {isa = PBXBuildFile; fileRef = 617A431014630CD900DAB367 /* pithos-large.png */; }; 6180C22B13FAEF4B00BCA40B /* BytesSizeTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = 6180C22A13FAEF4B00BCA40B /* BytesSizeTransformer.m */; }; 6180C22E13FBF1FD00BCA40B /* LastModifiedDateTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = 6180C22D13FBF1FD00BCA40B /* LastModifiedDateTransformer.m */; }; 618A7FD81438CE5D0040F043 /* PithosActivityFacility.m in Sources */ = {isa = PBXBuildFile; fileRef = 618A7FD71438CE5D0040F043 /* PithosActivityFacility.m */; }; @@ -168,7 +169,6 @@ 6152D093143334E000803874 /* SharingAccountBoolTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SharingAccountBoolTransformer.h; path = "pithos-macos/SharingAccountBoolTransformer.h"; sourceTree = ""; }; 6152D094143334E000803874 /* SharingAccountBoolTransformer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SharingAccountBoolTransformer.m; path = "pithos-macos/SharingAccountBoolTransformer.m"; sourceTree = ""; }; 6154BF4A145554D600EE353A /* pithos-logo-small.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "pithos-logo-small.png"; sourceTree = ""; }; - 6154BF4C145558E300EE353A /* pithos.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; name = pithos.icns; path = ../pithos.icns; sourceTree = ""; }; 6154BF4E1456A83100EE353A /* UsingSizeTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = UsingSizeTransformer.h; path = "pithos-macos/UsingSizeTransformer.h"; sourceTree = ""; }; 6154BF4F1456A83100EE353A /* UsingSizeTransformer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = UsingSizeTransformer.m; path = "pithos-macos/UsingSizeTransformer.m"; sourceTree = ""; }; 6154BF511456EE4600EE353A /* DirPathFileURLTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DirPathFileURLTransformer.h; path = "pithos-macos/DirPathFileURLTransformer.h"; sourceTree = ""; }; @@ -185,6 +185,8 @@ 616FC0B213F97D0800140A33 /* PithosNodeInfoController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PithosNodeInfoController.m; sourceTree = ""; }; 617460EF140BE45C00D333A1 /* BytesExtendedSizeTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BytesExtendedSizeTransformer.h; path = "pithos-macos/BytesExtendedSizeTransformer.h"; sourceTree = ""; }; 617460F0140BE45C00D333A1 /* BytesExtendedSizeTransformer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BytesExtendedSizeTransformer.m; path = "pithos-macos/BytesExtendedSizeTransformer.m"; sourceTree = ""; }; + 617A430B14630A3100DAB367 /* pithos.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = pithos.icns; sourceTree = ""; }; + 617A431014630CD900DAB367 /* pithos-large.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "pithos-large.png"; sourceTree = ""; }; 6180C22913FAEF4B00BCA40B /* BytesSizeTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BytesSizeTransformer.h; path = "pithos-macos/BytesSizeTransformer.h"; sourceTree = ""; }; 6180C22A13FAEF4B00BCA40B /* BytesSizeTransformer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BytesSizeTransformer.m; path = "pithos-macos/BytesSizeTransformer.m"; sourceTree = ""; }; 6180C22C13FBF1FC00BCA40B /* LastModifiedDateTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = LastModifiedDateTransformer.h; path = "pithos-macos/LastModifiedDateTransformer.h"; sourceTree = ""; }; @@ -358,10 +360,11 @@ 610DD46113E950E500ED982F /* Icons */ = { isa = PBXGroup; children = ( - 6154BF4C145558E300EE353A /* pithos.icns */, 610DD46213E950E600ED982F /* 01-refresh.png */, 61E99D9313EC348500E48DA5 /* 145-persondot.png */, + 617A431014630CD900DAB367 /* pithos-large.png */, 6154BF4A145554D600EE353A /* pithos-logo-small.png */, + 617A430B14630A3100DAB367 /* pithos.icns */, ); path = Icons; sourceTree = SOURCE_ROOT; @@ -582,7 +585,8 @@ 616FC0AF13F91BA400140A33 /* PithosObjectNodeInfoController.xib in Resources */, 611405D11428BEC000637170 /* PithosContainerNodeInfoController.xib in Resources */, 6154BF4B145554D600EE353A /* pithos-logo-small.png in Resources */, - 6154BF4D145558E300EE353A /* pithos.icns in Resources */, + 617A430C14630A3100DAB367 /* pithos.icns in Resources */, + 617A431114630CD900DAB367 /* pithos-large.png in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/pithos-macos/pithos_macosAppDelegate.m b/pithos-macos/pithos_macosAppDelegate.m index d6d06c4..bd68cf8 100644 --- a/pithos-macos/pithos_macosAppDelegate.m +++ b/pithos-macos/pithos_macosAppDelegate.m @@ -128,7 +128,7 @@ // Based on: http://cocoatutorial.grapewave.com/2010/01/creating-a-status-bar-application/ // and: http://www.cocoadev.com/index.pl?ThumbnailImages - (void)awakeFromNib { - NSImage *sourceImage = [NSImage imageNamed:NSImageNameFolder]; + NSImage *sourceImage = [NSImage imageNamed:@"pithos-large.png"]; NSImage *smallImage = [[[NSImage alloc] initWithSize:NSMakeSize(18, 18)] autorelease]; [smallImage lockFocus]; diff --git a/pithos.icns b/pithos.icns deleted file mode 100644 index 60d36cf..0000000 Binary files a/pithos.icns and /dev/null differ