*** empty log message ***
original commit: 38074a9af3f564b2a4f094212b455aac2b63269a
This commit is contained in:
parent
6f769498bb
commit
e595b66a9a
|
@ -21,12 +21,24 @@
|
|||
[super-set-filename set-filename]
|
||||
[super-set-modified set-modified]
|
||||
[super-on-change on-change]
|
||||
[super-on-save-file on-save-file])
|
||||
[super-on-save-file on-save-file]
|
||||
[super-on-focus on-focus]
|
||||
[super-lock lock])
|
||||
(private
|
||||
[auto-saved-name #f]
|
||||
[auto-save-out-of-date? #t]
|
||||
[auto-save-error? #f])
|
||||
(public
|
||||
[locked? #f]
|
||||
[lock
|
||||
(lambda (v)
|
||||
(set! locked? v)
|
||||
(super-lock v))]
|
||||
[on-focus
|
||||
(lambda (in?)
|
||||
'(send (ivar (get-frame) save-icon) show (and in? (modified?)))
|
||||
'(send (ivar (get-frame) lock-icon) show (and in? locked?))
|
||||
(super-on-focus in?))]
|
||||
[get-file (lambda (d) (let ([v (mred:finder:get-file d)])
|
||||
(if v
|
||||
v
|
||||
|
|
Loading…
Reference in New Issue
Block a user