Добавил разделитель
This commit is contained in:
parent
dbb8c3f911
commit
9bb25eb817
|
@ -22,6 +22,10 @@ proc GetFileMenu {m} {
|
||||||
-accelerator "Ctrl+S"
|
-accelerator "Ctrl+S"
|
||||||
$m add command -label [::msgcat::mc "Close file"] -command {FileOper::Close}\
|
$m add command -label [::msgcat::mc "Close file"] -command {FileOper::Close}\
|
||||||
-accelerator "Ctrl+w"
|
-accelerator "Ctrl+w"
|
||||||
|
$m add command -label [::msgcat::mc "Close all"] -command {FileOper::CloseAll}
|
||||||
|
|
||||||
|
$m add separator
|
||||||
|
|
||||||
$m add command -label [::msgcat::mc "Open folder"] -accelerator "Ctrl+K" -command {
|
$m add command -label [::msgcat::mc "Open folder"] -accelerator "Ctrl+K" -command {
|
||||||
set folderPath [FileOper::OpenFolderDialog]
|
set folderPath [FileOper::OpenFolderDialog]
|
||||||
if {$folderPath != ""} {
|
if {$folderPath != ""} {
|
||||||
|
@ -31,7 +35,6 @@ proc GetFileMenu {m} {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$m add command -label [::msgcat::mc "Close folder"] -command {FileOper::CloseFolder}
|
$m add command -label [::msgcat::mc "Close folder"] -command {FileOper::CloseFolder}
|
||||||
$m add command -label [::msgcat::mc "Close all"] -command {FileOper::CloseAll}
|
|
||||||
|
|
||||||
#$m add command -label [::msgcat::mc "Open"] -command {FileDialog $tree open}\
|
#$m add command -label [::msgcat::mc "Open"] -command {FileDialog $tree open}\
|
||||||
#-font $fontNormal -accelerator "Ctrl+O" -state disable
|
#-font $fontNormal -accelerator "Ctrl+O" -state disable
|
||||||
|
|
Loading…
Reference in New Issue
Block a user