Skip to content

Commit

Permalink
Code cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
profer committed Feb 21, 2012
1 parent dd5f37f commit d948321
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/tracker/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,9 @@
(.addItem menu (str "No tasks in " file) nil))
(doseq [[pri prjs] (next part-items)] (add-priority true pri prjs)))

; quit menu item
(.addSeparator menu)

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

; IO -----------------------------------------------------------------------

Expand Down

0 comments on commit d948321

Please sign in to comment.