Исправлена некорректная установка иконки на каталог
This commit is contained in:
parent
2f7b37ac66
commit
cb77304a78
|
@ -37,9 +37,9 @@ namespace eval Tree {
|
|||
directory {
|
||||
regsub -all {\.|/|\\|\s} $item "_" subNode
|
||||
# puts $subNode
|
||||
if {[string match {*debian*} [string tolower $item]]} {
|
||||
if {[string match {*debian*} [string tolower [file tail $item]]]} {
|
||||
set image [::FindImage debian]
|
||||
} elseif {[string match {*redhat*} [string tolower $item]]} {
|
||||
} elseif {[string match {*redhat*} [string tolower [file tail $item]]]} {
|
||||
set image [::FindImage redhat]
|
||||
} else {
|
||||
set image pixel
|
||||
|
|
Loading…
Reference in New Issue
Block a user