Добавил икогнку для файлов git
This commit is contained in:
parent
fbb107f14a
commit
3e3000de62
|
@ -1363,4 +1363,20 @@ image create photo csr_16x12 -data {
|
|||
kfgEeiV9/DDABoBBIAN6igxorfE0CIJNgNJNelcoC7oETqyp+S4GkvTrZ0lnwEPpJr2LUUTsLWfu
|
||||
VqIgPjvnLr45mBnAGkZRxv7SRG0lagtfFWR2IQ04e8UAAAAASUVORK5CYII=
|
||||
}
|
||||
|
||||
image create photo git_16x12 -data {
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAMCAYAAABr5z2BAAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9
|
||||
kT1Iw0AcxV9TS0UqDnYQcchQnSz4hYiTVqEIFUKt0KqDyaUfQpOGJMXFUXAtOPixWHVwcdbVwVUQ
|
||||
BD9AHJ2cFF2kxP8lhRYxHhz34929x907QKiXmWZ1jACabpvpZELM5lbE8CsiCCOEaYzKzDJmJSkF
|
||||
3/F1jwBf7+I8y//cn6NbzVsMCIjEM8wwbeJ14slN2+C8TxxlJVklPiceNumCxI9cVzx+41x0WeCZ
|
||||
UTOTniOOEovFNlbamJVMjXiCOKZqOuULWY9VzluctXKVNe/JXxjJ68tLXKc5gCQWsAgJIhRUsYEy
|
||||
bMRp1UmxkKb9hI+/3/VL5FLItQFGjnlUoEF2/eB/8LtbqzA+5iVFEkDoxXE+BoHwLtCoOc73seM0
|
||||
ToDgM3Clt/yVOjD1SXqtpcWOgJ5t4OK6pSl7wOUO0PdkyKbsSkGaQqEAvJ/RN+WA3luga9XrrbmP
|
||||
0wcgQ12lboCDQ2CoSNlrPu/ubO/t3zPN/n4AtjZywjCqfNkAAAAGYktHRAD/AP8A/6C9p5MAAAAJ
|
||||
cEhZcwAADdcAAA3XAUIom3gAAAAHdElNRQfmDAcGATEYpspOAAABMUlEQVQoz42SsUoDQRRFz+yM
|
||||
G5CQ0sbC2iqNECwWUUTUQgj5AasUi4sfE8hPSEgjwcZCUkRIYWNnpZWlRI1keLvPZgXd7AZv+Zhz
|
||||
Zu5jDCVJkqThvR+qqjjnOv1+/4OKBMVBt9td896fqeoBcJSm6SiO4/q/BEmSNIA7YBO4AB5VNVol
|
||||
Mb/hxWJxA+zmo23n3KeIvAAYY8bW2tNiHVsBA1gRuTfGvAKHwJaqRq1W62o6nfo/Fbz3wwIMsGGt
|
||||
vQTesyxrAg+qGonIYGkHqipU5zwIgjdglldxSwLnXMcYMy6Ac1X9AnaAZ2APmIRh2C5dYhzH9TRN
|
||||
R6oaAWRZ1lTVubX2KT8yqdVqx71eb1YqKJHcAh44qYKXBPlHWgeugf1VN1cKfl4iIgNjjAvDsF0F
|
||||
A3wD9EWTx4J8PxsAAAAASUVORK5CYII=
|
||||
}
|
||||
|
|
|
@ -31,6 +31,8 @@ namespace eval Tree {
|
|||
set findImg [::FindImage gitlab]
|
||||
} elseif {[string match {*bitbucket*} [string tolower $text]]} {
|
||||
set findImg [::FindImage bitbucket]
|
||||
} elseif {[string match {\.git*} [string tolower $text]]} {
|
||||
set findImg [::FindImage git]
|
||||
}
|
||||
if {$fileExt ne "" || $findImg ne ""} {
|
||||
set image $findImg
|
||||
|
@ -47,6 +49,8 @@ namespace eval Tree {
|
|||
set image [::FindImage redhat]
|
||||
} elseif {[string match {*gitlab*} [string tolower [file tail $item]]]} {
|
||||
set image [::FindImage gitlab]
|
||||
} elseif {[string match {.git} [string tolower [file tail $item]]]} {
|
||||
set image [::FindImage git]
|
||||
} else {
|
||||
set image pixel
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user