Skip to content

Commit

Permalink
Merge pull request #16 from guillaume-algis/master
Browse files Browse the repository at this point in the history
Draw white shadow underneath menubar icon
  • Loading branch information
codler committed Aug 22, 2012
2 parents 2639476 + 208d662 commit bc81145
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Battery Time Remaining.xcodeproj/project.pbxproj
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
28FEDA6E15DA5ECA00320B72 /* LaunchAtLoginHelper.app in CopyFiles */ = {isa = PBXBuildFile; fileRef = 28FEDA6B15DA5EB200320B72 /* LaunchAtLoginHelper.app */; }; 28FEDA6E15DA5ECA00320B72 /* LaunchAtLoginHelper.app in CopyFiles */ = {isa = PBXBuildFile; fileRef = 28FEDA6B15DA5EB200320B72 /* LaunchAtLoginHelper.app */; };
28FEDA6F15DA5F8C00320B72 /* LLManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 28FEDA6315DA5EB200320B72 /* LLManager.m */; }; 28FEDA6F15DA5F8C00320B72 /* LLManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 28FEDA6315DA5EB200320B72 /* LLManager.m */; };
D53375E515DC43380077CEF6 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = D53375E315DC43380077CEF6 /* Localizable.strings */; }; D53375E515DC43380077CEF6 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = D53375E315DC43380077CEF6 /* Localizable.strings */; };
F018553E15E460A500AC6173 /* build_version in Resources */ = {isa = PBXBuildFile; fileRef = 28833BB315D7D61100741727 /* build_version */; };
/* End PBXBuildFile section */ /* End PBXBuildFile section */


/* Begin PBXContainerItemProxy section */ /* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -83,6 +84,7 @@
28FEDA6415DA5EB200320B72 /* LLStrings.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = LLStrings.h; path = ../LaunchAtLoginHelper/LLStrings.h; sourceTree = "<group>"; }; 28FEDA6415DA5EB200320B72 /* LLStrings.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = LLStrings.h; path = ../LaunchAtLoginHelper/LLStrings.h; sourceTree = "<group>"; };
D53375E415DC43380077CEF6 /* en */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; }; D53375E415DC43380077CEF6 /* en */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
D53375FC15DC44620077CEF6 /* nl */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/Localizable.strings; sourceTree = "<group>"; }; D53375FC15DC44620077CEF6 /* nl */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/Localizable.strings; sourceTree = "<group>"; };
F018553D15E460A500AC6173 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/Localizable.strings; sourceTree = "<group>"; };
/* End PBXFileReference section */ /* End PBXFileReference section */


/* Begin PBXFrameworksBuildPhase section */ /* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -219,6 +221,7 @@
en, en,
nl, nl,
sv, sv,
fr,
); );
mainGroup = 2841C7D115C91CC100F4F15F; mainGroup = 2841C7D115C91CC100F4F15F;
productRefGroup = 2841C7DD15C91CC100F4F15F /* Products */; productRefGroup = 2841C7DD15C91CC100F4F15F /* Products */;
Expand Down Expand Up @@ -257,6 +260,7 @@
28833BB415D7D61100741727 /* build_version in Resources */, 28833BB415D7D61100741727 /* build_version in Resources */,
D53375E515DC43380077CEF6 /* Localizable.strings in Resources */, D53375E515DC43380077CEF6 /* Localizable.strings in Resources */,
288305E515DD04790064D457 /* InfoPlist.strings in Resources */, 288305E515DD04790064D457 /* InfoPlist.strings in Resources */,
F018553E15E460A500AC6173 /* build_version in Resources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
Expand Down Expand Up @@ -307,6 +311,7 @@
D53375E415DC43380077CEF6 /* en */, D53375E415DC43380077CEF6 /* en */,
D53375FC15DC44620077CEF6 /* nl */, D53375FC15DC44620077CEF6 /* nl */,
288305DF15DD005C0064D457 /* sv */, 288305DF15DD005C0064D457 /* sv */,
F018553D15E460A500AC6173 /* fr */,
); );
name = Localizable.strings; name = Localizable.strings;
sourceTree = "<group>"; sourceTree = "<group>";
Expand Down
1 change: 1 addition & 0 deletions Battery Time Remaining/AppDelegate.m
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ - (void)updateStatusItem
- (void)setStatusBarImage:(NSImage *)image title:(NSString *)title - (void)setStatusBarImage:(NSImage *)image title:(NSString *)title
{ {
// Image // Image
[image setTemplate:YES];
[self.statusItem setImage:image]; [self.statusItem setImage:image];
[self.statusItem setAlternateImage:[self imageInvertColor:image]]; [self.statusItem setAlternateImage:[self imageInvertColor:image]];


Expand Down
Binary file not shown.

0 comments on commit bc81145

Please sign in to comment.