Skip to content

Commit bc81145

Browse files
committed
Merge pull request #16 from guillaume-algis/master
Draw white shadow underneath menubar icon
2 parents 2639476 + 208d662 commit bc81145

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

Battery Time Remaining.xcodeproj/project.pbxproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
28FEDA6E15DA5ECA00320B72 /* LaunchAtLoginHelper.app in CopyFiles */ = {isa = PBXBuildFile; fileRef = 28FEDA6B15DA5EB200320B72 /* LaunchAtLoginHelper.app */; };
2323
28FEDA6F15DA5F8C00320B72 /* LLManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 28FEDA6315DA5EB200320B72 /* LLManager.m */; };
2424
D53375E515DC43380077CEF6 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = D53375E315DC43380077CEF6 /* Localizable.strings */; };
25+
F018553E15E460A500AC6173 /* build_version in Resources */ = {isa = PBXBuildFile; fileRef = 28833BB315D7D61100741727 /* build_version */; };
2526
/* End PBXBuildFile section */
2627

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

8890
/* Begin PBXFrameworksBuildPhase section */
@@ -219,6 +221,7 @@
219221
en,
220222
nl,
221223
sv,
224+
fr,
222225
);
223226
mainGroup = 2841C7D115C91CC100F4F15F;
224227
productRefGroup = 2841C7DD15C91CC100F4F15F /* Products */;
@@ -257,6 +260,7 @@
257260
28833BB415D7D61100741727 /* build_version in Resources */,
258261
D53375E515DC43380077CEF6 /* Localizable.strings in Resources */,
259262
288305E515DD04790064D457 /* InfoPlist.strings in Resources */,
263+
F018553E15E460A500AC6173 /* build_version in Resources */,
260264
);
261265
runOnlyForDeploymentPostprocessing = 0;
262266
};
@@ -307,6 +311,7 @@
307311
D53375E415DC43380077CEF6 /* en */,
308312
D53375FC15DC44620077CEF6 /* nl */,
309313
288305DF15DD005C0064D457 /* sv */,
314+
F018553D15E460A500AC6173 /* fr */,
310315
);
311316
name = Localizable.strings;
312317
sourceTree = "<group>";

Battery Time Remaining/AppDelegate.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ - (void)updateStatusItem
240240
- (void)setStatusBarImage:(NSImage *)image title:(NSString *)title
241241
{
242242
// Image
243+
[image setTemplate:YES];
243244
[self.statusItem setImage:image];
244245
[self.statusItem setAlternateImage:[self imageInvertColor:image]];
245246

3.06 KB
Binary file not shown.

0 commit comments

Comments
 (0)