diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2008-03-05 15:38:06 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2008-03-05 15:38:06 +0100 |
commit | 6a0dc62707ed60a0965c8c784807a9e6f01cf324 (patch) | |
tree | 835d17341a990afbfb968848bb351555352b3aab | |
parent | 782f83257a0dbe85511199c6a5628be34c4fb553 (diff) | |
download | portato-6a0dc62707ed60a0965c8c784807a9e6f01cf324.tar.gz portato-6a0dc62707ed60a0965c8c784807a9e6f01cf324.tar.bz2 portato-6a0dc62707ed60a0965c8c784807a9e6f01cf324.zip |
Install glade files into template dir and not data dir
-rw-r--r-- | portato/gui/gtk/basic.py | 1 | ||||
-rw-r--r-- | setup.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/portato/gui/gtk/basic.py b/portato/gui/gtk/basic.py index 513edf6..ba00e47 100644 --- a/portato/gui/gtk/basic.py +++ b/portato/gui/gtk/basic.py @@ -24,7 +24,6 @@ from ...constants import TEMPLATE_DIR, APP_ICON, APP, LOCALE_DIR gtk.glade.bindtextdomain (APP, LOCALE_DIR) gtk.glade.textdomain (APP) -GLADE_FILE = TEMPLATE_DIR+"portato.glade" class Window (object): def __init__ (self): @@ -133,7 +133,7 @@ package_dir = {"portato._shm" : "_shm"} if "gtk" in FRONTENDS: packages.append("portato.gui.gtk") - data_files.append((DATA_DIR, [os.path.join("portato/gui/templates",x) for x in os.listdir("portato/gui/templates") if x.endswith(".glade")])) + data_files.append((TEMPLATE_DIR, [os.path.join("portato/gui/templates",x) for x in os.listdir("portato/gui/templates") if x.endswith(".glade")])) # do the distutils setup setup(name="Portato", |