use 'png for arrow bitmaps, drop redundant with-handlers
svn: r1083 original commit: e2e6516a84ea49e3b81b0df8d6c115f8f873d6c6
This commit is contained in:
parent
1162fa10a0
commit
4c452a36a8
|
@ -2288,10 +2288,8 @@
|
|||
(with-handlers ([exn:fail:filesystem?
|
||||
(λ (x) #f)])
|
||||
(let ([fw (collection-path "framework")])
|
||||
(with-handlers ([exn:fail:filesystem?
|
||||
(λ (x) #f)])
|
||||
(or (directory-exists? (build-path fw ".svn"))
|
||||
(directory-exists? (build-path fw "CVS"))))))))
|
||||
(directory-exists? (build-path fw "CVS")))))))
|
||||
|
||||
(define bday-click-canvas%
|
||||
(class canvas%
|
||||
|
|
|
@ -441,10 +441,10 @@ needed to really make this work:
|
|||
|
||||
(define (set-box/f! b v) (when (box? b) (set-box! b v)))
|
||||
|
||||
(define down-bitmap (include-bitmap (lib "turn-down.png" "icons")))
|
||||
(define up-bitmap (include-bitmap (lib "turn-up.png" "icons")))
|
||||
(define down-click-bitmap (include-bitmap (lib "turn-down-click.png" "icons")))
|
||||
(define up-click-bitmap (include-bitmap (lib "turn-up-click.png" "icons")))
|
||||
(define down-bitmap (include-bitmap (lib "turn-down.png" "icons") 'png))
|
||||
(define up-bitmap (include-bitmap (lib "turn-up.png" "icons") 'png))
|
||||
(define down-click-bitmap (include-bitmap (lib "turn-down-click.png" "icons") 'png))
|
||||
(define up-click-bitmap (include-bitmap (lib "turn-up-click.png" "icons") 'png))
|
||||
(define arrow-snip-height
|
||||
(max 10
|
||||
(send up-bitmap get-height)
|
||||
|
|
Loading…
Reference in New Issue
Block a user