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