Skip to content

Commit 9eced8d

Browse files
committed
OSX: New Retina compatible menu & app icon
This icons are using scale independent PDF template images which make menu item icon look great on both Yosemite light & dark theme. Also adding new flatter and higher resolution app icon.
1 parent fecb534 commit 9eced8d

File tree

8 files changed

+3
-4
lines changed

8 files changed

+3
-4
lines changed

src/ui-macos/ChickenErrorTemplate.pdf

2.53 KB
Binary file not shown.

src/ui-macos/ChickenIdleTemplate.pdf

2.56 KB
Binary file not shown.
2.54 KB
Binary file not shown.

src/ui-macos/app.icns

24.5 KB
Binary file not shown.

src/ui-macos/chicken-tiny-bw.png

-821 Bytes
Binary file not shown.

src/ui-macos/chicken-tiny-err.png

-789 Bytes
Binary file not shown.

src/ui-macos/chicken-tiny.png

-810 Bytes
Binary file not shown.

src/ui-macos/main.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -380,11 +380,10 @@ def awakeFromNib(self):
380380
bar = NSStatusBar.systemStatusBar()
381381
statusitem = bar.statusItemWithLength_(NSVariableStatusItemLength)
382382
self.statusitem = statusitem
383-
self.img_idle = my.Image('chicken-tiny-bw', 'png')
384-
self.img_running = my.Image('chicken-tiny', 'png')
385-
self.img_err = my.Image('chicken-tiny-err', 'png')
383+
self.img_idle = NSImage.imageNamed_('ChickenIdleTemplate')
384+
self.img_running = NSImage.imageNamed_('ChickenRunningTemplate')
385+
self.img_err = NSImage.imageNamed_('ChickenErrorTemplate')
386386
statusitem.setImage_(self.img_idle)
387-
statusitem.setHighlightMode_(True)
388387
statusitem.setMenu_(self.menu)
389388
self.fill_menu()
390389

0 commit comments

Comments
 (0)