diff options
author | Paul W. Frields <stickster@gmail.com> | 2010-12-19 19:43:10 -0500 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2010-12-19 19:43:10 -0500 |
commit | e2df28470fdc3f6d37a76dba1115a40ee97f2b1b (patch) | |
tree | 467af4ae03402b22b9c9e1ec5d6c906bd62a3a54 /pulsecaster | |
parent | 2c4ee7d5ec1a00638015ad8f551fd89d7538c948 (diff) | |
download | pulsecaster-e2df28470fdc3f6d37a76dba1115a40ee97f2b1b.tar.gz pulsecaster-e2df28470fdc3f6d37a76dba1115a40ee97f2b1b.tar.xz pulsecaster-e2df28470fdc3f6d37a76dba1115a40ee97f2b1b.zip |
Remove data location hack
Packaging should take care of icon locations properly. If the
PulseCaster package properly runs gtk-update-icon-cache and puts the
icons in e.g. /usr/share/icons/hicolor... the icon can be found (and
overridden) by default. Leaving in place the path used to load the
icon during developmen in case PulseCaster isn't installed on the
running system.
Diffstat (limited to 'pulsecaster')
-rw-r--r-- | pulsecaster/ui.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pulsecaster/ui.py b/pulsecaster/ui.py index e71530f..837156e 100644 --- a/pulsecaster/ui.py +++ b/pulsecaster/ui.py @@ -57,10 +57,8 @@ class PulseCasterUI: raise SystemExit(_("Cannot load resources")) self.icontheme = gtk.icon_theme_get_default() - # Convenience for developers self.icontheme.append_search_path(os.path.join(os.getcwd(),'data','icons','scalable')) - self.icontheme.append_search_path(os.path.join(sys.prefix,'share','pulsecaster','icons','scalable')) self.logo = self.icontheme.load_icon('pulsecaster', -1, gtk.ICON_LOOKUP_FORCE_SVG) gtk.window_set_default_icon(self.logo) |