Skip to content

Commit

Permalink
Merge pull request #74 from Higgcz/master
Browse files Browse the repository at this point in the history
New App Icon and small fixes.
  • Loading branch information
Honza Dvorsky committed Jul 13, 2015
2 parents 0f030a4 + 2fc7d8c commit 22f6e3f
Show file tree
Hide file tree
Showing 27 changed files with 21 additions and 17 deletions.
1 change: 1 addition & 0 deletions Buildasaur.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,7 @@
3A5687681A3B93BD0066DB2B /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0700;
LastUpgradeCheck = 0610;
ORGANIZATIONNAME = "Honza Dvorsky";
TargetAttributes = {
Expand Down
22 changes: 12 additions & 10 deletions Buildasaur/Images.xcassets/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,59 +3,61 @@
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "builda_icon@16x.png",
"filename" : "Icon_16.png",
"scale" : "1x"
},
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "builda_icon@32x-2.png",
"filename" : "Icon_16@2x.png",
"scale" : "2x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "builda_icon@32x.png",
"filename" : "Icon_32.png",
"scale" : "1x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "builda_icon@64x.png",
"filename" : "Icon_32@2x.png",
"scale" : "2x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "builda_icon@128x.png",
"filename" : "Icon_128.png",
"scale" : "1x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "builda_icon@256x-2.png",
"filename" : "Icon_128@2x.png",
"scale" : "2x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "builda_icon@256x.png",
"filename" : "Icon_256.png",
"scale" : "1x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "builda_icon@512x.png",
"filename" : "Icon_256@2x.png",
"scale" : "2x"
},
{
"idiom" : "mac",
"size" : "512x512",
"idiom" : "mac",
"filename" : "Icon_512.png",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "512x512",
"idiom" : "mac",
"filename" : "Icon_512@2x.png",
"scale" : "2x"
}
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 6 additions & 4 deletions Buildasaur/Images.xcassets/icon.imageset/Contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,22 @@
{
"idiom" : "universal",
"scale" : "1x",
"filename" : "builda_menu@0.12x.png"
"filename" : "Icon_mono_16.png"
},
{
"idiom" : "universal",
"scale" : "2x",
"filename" : "builda_menu@0.25x.png"
"filename" : "Icon_mono_16@2x.png"
},
{
"idiom" : "universal",
"scale" : "3x"
"scale" : "3x",
"filename" : "Icon_mono_16@3x.png"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
"author" : "xcode",
"template-rendering-intent" : "template"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
5 changes: 2 additions & 3 deletions Buildasaur/MenuItemManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ class MenuItemManager : NSObject, NSMenuDelegate {

let statusItem = statusBar.statusItemWithLength(32)
statusItem.title = ""
let image = NSImage(named: "icon")
image?.setTemplate(true)
statusItem.image = image
statusItem.image = NSImage(named: "icon")
statusItem.highlightMode = true

var menu = NSMenu()
menu.addItemWithTitle("Open Buildasaur", action: "showMainWindow", keyEquivalent: "")
menu.addItemWithTitle("Quit Buildasaur", action: "terminate:", keyEquivalent: "")
menu.addItem(NSMenuItem.separatorItem())
self.firstIndexLastSyncedMenuItem = menu.numberOfItems

Expand Down

0 comments on commit 22f6e3f

Please sign in to comment.