undid last commit
svn: r6791
This commit is contained in:
parent
0ef2e50e96
commit
81fc35f5a7
|
@ -282,7 +282,7 @@ module browser threading seems wrong.
|
|||
|
||||
(define make-execute-bitmap
|
||||
(bitmap-label-maker (string-constant execute-button-label)
|
||||
(get-running-bitmap)))
|
||||
(build-path (collection-path "icons") "run.png")))
|
||||
(define make-save-bitmap
|
||||
(bitmap-label-maker (string-constant save-button-label)
|
||||
(build-path (collection-path "icons") "save.png")))
|
||||
|
@ -1464,7 +1464,7 @@ module browser threading seems wrong.
|
|||
(if (equal? f1 f2)
|
||||
(loop (cdr p1) (cdr p2) (+ i 1))
|
||||
i))])))]
|
||||
[exp (reverse (explode-path (normalize-path/exists fn)))]
|
||||
[exp (reverse (explode-path (normalize-path fn)))]
|
||||
[other-exps
|
||||
(filter
|
||||
(λ (x) (and x
|
||||
|
@ -1472,7 +1472,7 @@ module browser threading seems wrong.
|
|||
(map (λ (other-tab)
|
||||
(let ([fn (send (send other-tab get-defs) get-filename)])
|
||||
(and fn
|
||||
(reverse (explode-path (normalize-path/exists fn))))))
|
||||
(reverse (explode-path (normalize-path fn))))))
|
||||
tabs))]
|
||||
[size
|
||||
(let loop ([other-exps other-exps]
|
||||
|
@ -1484,11 +1484,6 @@ module browser threading seems wrong.
|
|||
(max new-size size)))]))])
|
||||
(path->string (apply build-path (reverse (take-n size exp))))))
|
||||
|
||||
(define/private (normalize-path/exists fn)
|
||||
(if (file-exists? fn)
|
||||
(normalize-path fn)
|
||||
fn))
|
||||
|
||||
(define/private (add-modified-flag text string)
|
||||
(if (send text is-modified?)
|
||||
(let ([prefix (get-save-diamond-prefix)])
|
||||
|
|
Loading…
Reference in New Issue
Block a user