pkg/gui: find an available checkmark glyph

This commit is contained in:
Matthew Flatt 2013-04-25 08:47:43 -06:00
parent fa297566f1
commit 44cfd7cab6

View File

@ -16,7 +16,10 @@
(define sc-pkg-update-package-list (string-constant install-pkg-update-package-list))
(define sc-pkg-stop-update (string-constant install-pkg-stop-update))
(define check-mark "")
(define check-mark
(for/or ([c '(#\u2713 #\u2714 #\u221A #\x)])
(and (send normal-control-font screen-glyph-exists? c #t)
(string c))))
(define default-status
(~a check-mark ": installed"