PR 9423
svn: r9995
This commit is contained in:
parent
b21a0182c1
commit
8e217ad6c6
|
@ -324,11 +324,15 @@
|
||||||
(new button%
|
(new button%
|
||||||
[label (string-constant white-on-black-color-scheme)]
|
[label (string-constant white-on-black-color-scheme)]
|
||||||
[parent hp]
|
[parent hp]
|
||||||
[callback (λ (x y) (preferences:set 'framework:white-on-black? #t))])
|
[callback (λ (x y)
|
||||||
|
(preferences:set 'framework:white-on-black? #t)
|
||||||
|
(white-on-black))])
|
||||||
(new button%
|
(new button%
|
||||||
[label (string-constant black-on-white-color-scheme)]
|
[label (string-constant black-on-white-color-scheme)]
|
||||||
[parent hp]
|
[parent hp]
|
||||||
[callback (λ (x y) (preferences:set 'framework:white-on-black? #f))]))))))
|
[callback (λ (x y)
|
||||||
|
(preferences:set 'framework:white-on-black? #f)
|
||||||
|
(black-on-white))]))))))
|
||||||
|
|
||||||
|
|
||||||
(define (build-text-foreground-selection-panel parent pref-sym style-name example-text)
|
(define (build-text-foreground-selection-panel parent pref-sym style-name example-text)
|
||||||
|
|
|
@ -51,11 +51,6 @@
|
||||||
(λ (x) (and (list? x) (andmap string? x))))
|
(λ (x) (and (list? x) (andmap string? x))))
|
||||||
|
|
||||||
(preferences:set-default 'framework:white-on-black? #f boolean?)
|
(preferences:set-default 'framework:white-on-black? #f boolean?)
|
||||||
(preferences:add-callback 'framework:white-on-black?
|
|
||||||
(λ (p v)
|
|
||||||
(if v
|
|
||||||
(color-prefs:white-on-black)
|
|
||||||
(color-prefs:black-on-white))))
|
|
||||||
|
|
||||||
(preferences:set-default 'framework:case-sensitive-search?
|
(preferences:set-default 'framework:case-sensitive-search?
|
||||||
#f
|
#f
|
||||||
|
|
Loading…
Reference in New Issue
Block a user