File: 00-icon-path.patch

package info (click to toggle)
libjson-ruby 0.4.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 268 kB
  • ctags: 329
  • sloc: ruby: 2,672; makefile: 13
file content (12 lines) | stat: -rw-r--r-- 477 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
diff -ur lib/json/editor.rb lib-new/json/editor.rb
--- lib/json/editor.rb	2006-01-05 00:48:37.000000000 +0000
+++ lib-new/json/editor.rb	2006-01-05 00:49:32.000000000 +0000
@@ -26,7 +26,7 @@
     def Editor.fetch_icon(name)
       @icon_cache ||= {}
       unless @icon_cache.key?(name)
-        path = File.dirname(__FILE__)
+        path = '/usr/share/edit-json'
         @icon_cache[name] = Gdk::Pixbuf.new(File.join(path, name + '.xpm'))
       end
      @icon_cache[name]