diff --git a/ext/tk/sample/tkextlib/treectrl/explorer.rb b/ext/tk/sample/tkextlib/treectrl/explorer.rb index b384fb7c8e..242777cbce 100644 --- a/ext/tk/sample/tkextlib/treectrl/explorer.rb +++ b/ext/tk/sample/tkextlib/treectrl/explorer.rb @@ -144,11 +144,7 @@ def demoExplorerDetails(t) when '.txt' img = 'small-txt' else - if FileTest.executable?(file) - img = 'small-exe' - else - img = 'small-file' - end + img = 'small-file' end type = ext.upcase