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.
This commit is contained in:
Adam Strzelecki 2015-04-20 20:24:05 +02:00
parent fecb53413d
commit 9eced8d049
8 changed files with 3 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 821 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 789 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 810 B

View File

@ -380,11 +380,10 @@ class SshuttleController(NSObject):
bar = NSStatusBar.systemStatusBar()
statusitem = bar.statusItemWithLength_(NSVariableStatusItemLength)
self.statusitem = statusitem
self.img_idle = my.Image('chicken-tiny-bw', 'png')
self.img_running = my.Image('chicken-tiny', 'png')
self.img_err = my.Image('chicken-tiny-err', 'png')
self.img_idle = NSImage.imageNamed_('ChickenIdleTemplate')
self.img_running = NSImage.imageNamed_('ChickenRunningTemplate')
self.img_err = NSImage.imageNamed_('ChickenErrorTemplate')
statusitem.setImage_(self.img_idle)
statusitem.setHighlightMode_(True)
statusitem.setMenu_(self.menu)
self.fill_menu()