Skip to content

Commit

Permalink
Merge pull request pkamenarsky#3 from profer/master
Browse files Browse the repository at this point in the history
Quit Menu Item
  • Loading branch information
Philip Kamenarsky committed Feb 21, 2012
2 parents 358457b + d948321 commit fe95fa1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/tracker/core.clj
Expand Up @@ -90,7 +90,11 @@
(if (first part-items)
(add-priority false (key (first part-items)) (val (first part-items)))
(.addItem menu (str "No tasks in " file) nil))
(doseq [[pri prjs] (next part-items)] (add-priority true pri prjs)))))
(doseq [[pri prjs] (next part-items)] (add-priority true pri prjs)))

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

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

Expand Down

0 comments on commit fe95fa1

Please sign in to comment.