| 64 |
|
pack $w |
| 65 |
|
} |
| 66 |
|
label $w.dt -text Directory: |
| 67 |
< |
place $w.dt -relx .0625 -rely .03125 -relwidth .15625 -relheight .0625 |
| 67 |
> |
place $w.dt -relx .025 -rely .03125 |
| 68 |
|
helplink $w.dt file directory intro |
| 69 |
|
button $w.ls -text List -command "update_dir $w" |
| 70 |
< |
place $w.ls -relx .0625 -rely .125 -relwidth .125 -relheight .0625 |
| 70 |
> |
place $w.ls -relx .025 -rely .125 -relwidth .15 -relheight .0625 |
| 71 |
|
helplink $w.ls file directory list |
| 72 |
|
entry $w.de -textvariable curdir -relief sunken |
| 73 |
|
place $w.de -relx .25 -rely .03125 -relwidth .6875 -relheight .0625 |
| 95 |
|
} else { |
| 96 |
|
bind $w.fm.fl <Double-Button-1> "set_curfile $w" |
| 97 |
|
label $w.fl -text File: |
| 98 |
< |
place $w.fl -relx .10625 -rely .875 \ |
| 99 |
< |
-relwidth .10625 -relheight .0625 |
| 98 |
> |
place $w.fl -relx .10625 -rely .875 |
| 99 |
|
entry $w.fn -relief sunken -textvariable curfile |
| 100 |
|
place $w.fn -relx .25 -rely .875 \ |
| 101 |
|
-relwidth .6875 -relheight .0625 |
| 109 |
|
} |
| 110 |
|
if {$transient != [info exists sendproc]} { |
| 111 |
|
button $w.ok -text OK -command "destroy $w" |
| 112 |
< |
place $w.ok -relx .0625 -rely .28125 \ |
| 113 |
< |
-relwidth .125 -relheight .0625 |
| 112 |
> |
place $w.ok -relx .025 -rely .28125 \ |
| 113 |
> |
-relwidth .15 -relheight .0625 |
| 114 |
|
} |
| 115 |
|
if {$transient || [info exists sendproc]} { |
| 116 |
|
button $w.cancel -text Cancel \ |
| 117 |
|
-command "destroy $w; unset curdir" |
| 118 |
< |
place $w.cancel -relx .0625 -rely .375 \ |
| 119 |
< |
-relwidth .125 -relheight .0625 |
| 118 |
> |
place $w.cancel -relx .025 -rely .375 \ |
| 119 |
> |
-relwidth .15 -relheight .0625 |
| 120 |
|
} |
| 121 |
|
if [info exists viewproc] { |
| 122 |
|
button $w.vi -text View -state disabled \ |
| 123 |
|
-command "$viewproc \[$w.fm.fl get \[$w.fm.fl curselection\]\]" |
| 124 |
< |
place $w.vi -relx .0625 -rely .46875 \ |
| 125 |
< |
-relwidth .125 -relheight .0625 |
| 124 |
> |
place $w.vi -relx .025 -rely .46875 \ |
| 125 |
> |
-relwidth .15 -relheight .0625 |
| 126 |
|
bind $w.fm.fl <ButtonRelease-1> "+chk_select $w" |
| 127 |
|
helplink $w.vi file file view |
| 128 |
|
} |