undid previous commit (oops!)

svn: r5914
This commit is contained in:
Robby Findler 2007-04-10 18:17:48 +00:00
parent 4133afdd43
commit cac2d2f174
4 changed files with 9 additions and 12 deletions

View File

@ -173,9 +173,6 @@
(top-margin top-margin) (top-margin top-margin)
(left-margin left-margin))) (left-margin left-margin)))
(inherit use-style-background)
(use-style-background #t)
(reset-min-sizes))) (reset-min-sizes)))
(define decorated-editor-snip% (define decorated-editor-snip%
@ -200,7 +197,8 @@
(send snip set-style (get-style)) (send snip set-style (get-style))
snip)) snip))
(super-new [editor (make-editor)]))) (super-new
(editor (make-editor)))))
(define decorated-editor-snipclass% (define decorated-editor-snipclass%
(class snip-class% (class snip-class%

View File

@ -7,11 +7,8 @@ _hierlist-editor-snip.ss_ defines two classes:
> decorated-editor-snip%, derived from editor-snip% > decorated-editor-snip%, derived from editor-snip%
This class operated just like a regular editor snip, except: This class operated just like a regular editor snip, except
that it has a color and an icon in the top right hand corner.
- it has a color and an icon in the top right hand corner
- it calls the use-style-background with #t when it
is initialized.
Overridable methods: Overridable methods:

View File

@ -228,7 +228,9 @@ the state transitions / contracts are:
(begin (begin
(v p value) (v p value)
(cons callback (loop (cdr callbacks)))) (cons callback (loop (cdr callbacks))))
(loop (cdr callbacks))))] (begin
(printf "lost a ~s callback\n" p)
(loop (cdr callbacks)))))]
[else [else
(cb p value) (cb p value)
(cons callback (loop (cdr callbacks)))]))]))]) (cons callback (loop (cdr callbacks)))]))]))])

View File

@ -86,7 +86,7 @@
(* 3/4 256) (* 3/4 256)
(- (* 7/8 256) 1))]) (- (* 7/8 256) 1))])
(make-object color% gray-level gray-level gray-level)) (make-object color% gray-level gray-level gray-level))
(make-object color% 30 30 30)) (make-object color% 50 50 50))
(preferences:set-default 'framework:recently-opened-files/pos (preferences:set-default 'framework:recently-opened-files/pos
null null