Skip to content

Commit

Permalink
Added app name to the quit menu item.
Browse files Browse the repository at this point in the history
  • Loading branch information
profer committed Feb 21, 2012
1 parent fe9deca commit dd5f37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tracker/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@

(.addSeparator menu)

(.addItem menu "Quit" (action (fn []
(.addItem menu "Quit Atea" (action (fn []
(deactfn)
(System/exit 0))))))

Expand Down

1 comment on commit dd5f37f

@pkamenarsky
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! :)

Can you merge those 5 lines into

; quit menu item
(.addSeparator menu)
(.addItem menu "Quit Atea" (action #((deactfn) (System/exit 0))))))

? :)

Please sign in to comment.