Commit 7bbf5fc3 authored by Michael Weinrich's avatar Michael Weinrich
Browse files

removed hard linked directory in favour of a config file entry

parent ec073c31
...@@ -50,8 +50,9 @@ class UPnTGUI: ...@@ -50,8 +50,9 @@ class UPnTGUI:
self.wTree.signal_autoconnect(dic) self.wTree.signal_autoconnect(dic)
# TreView for the devices # TreView for the devices
self.device_icon = gtk.gdk.pixbuf_new_from_file_at_size('/home/micxer/development/UPnT/gnome-fs-client.svg', 24, 24) gfx_dir = config.get('gfx_dir', '');
self.service_icon = gtk.gdk.pixbuf_new_from_file_at_size('/home/micxer/development/UPnT/icon_webservice.gif', 24, 24) self.device_icon = gtk.gdk.pixbuf_new_from_file_at_size(gfx_dir + 'gnome-fs-client.svg', 24, 24)
self.service_icon = gtk.gdk.pixbuf_new_from_file_at_size(gfx_dir + 'icon_webservice.gif', 24, 24)
self.getWidget("treeviewDeviceTree").set_headers_visible(False) self.getWidget("treeviewDeviceTree").set_headers_visible(False)
imgrenderer = gtk.CellRendererPixbuf() imgrenderer = gtk.CellRendererPixbuf()
textrenderer = gtk.CellRendererText() textrenderer = gtk.CellRendererText()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment