diff options
Diffstat (limited to 'qtruby')
-rw-r--r-- | qtruby/rubylib/examples/base/kicons.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qtruby/rubylib/examples/base/kicons.rb b/qtruby/rubylib/examples/base/kicons.rb index fb172b51..ea707f99 100644 --- a/qtruby/rubylib/examples/base/kicons.rb +++ b/qtruby/rubylib/examples/base/kicons.rb @@ -14,12 +14,12 @@ class KIconCollection def dims "32x32" end - def kdedir + def tdedir ENV["TDEDIR"] end def get_icon_path(icon_type) info = @icon_info[icon_type] - "#{kdedir}/share/icons/default.kde/#{dims}/#{info.collection}/#{info.id}.#{info.filetype}" + "#{tdedir}/share/icons/default.kde/#{dims}/#{info.collection}/#{info.id}.#{info.filetype}" end def get_icon_set(icon_type) path = get_icon_path(icon_type) @@ -51,4 +51,4 @@ icon_collections = { } } $kIcons = KIconCollection.new(icon_collections) -print "Using TDEDIR == ", $kIcons.kdedir, "\n" +print "Using TDEDIR == ", $kIcons.tdedir, "\n" |