sort the font names in the popup

This commit is contained in:
Robby Findler 2010-12-07 07:27:54 -06:00
parent 36e8d5ef99
commit 2d55dd1bb7

View File

@ -71,7 +71,7 @@
(when (eq? receiver font-name-control) (when (eq? receiver font-name-control)
(when (symbol? mono-list) (when (symbol? mono-list)
(begin-busy-cursor) (begin-busy-cursor)
(set! mono-list (get-face-list 'mono)) (set! mono-list (sort (get-face-list 'mono) string-ci<=?))
(send font-name-control clear) (send font-name-control clear)
(for-each (for-each
(λ (x) (send font-name-control append x)) (λ (x) (send font-name-control append x))