summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--portato/gui/gtk/basic.py1
-rw-r--r--setup.py2
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):
diff --git a/setup.py b/setup.py
index a9bfb4a..c595cd9 100644
--- a/setup.py
+++ b/setup.py
@@ -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",