fluents.glade is now read from '/system/' under the directory of argv[0].

This commit is contained in:
Einar Ryeng 2006-04-27 10:54:18 +00:00
parent 959d114774
commit c95c18eb14
2 changed files with 4 additions and 3 deletions

View File

@ -7,7 +7,7 @@ import gobject
from system import logger, project, workflow
import workflows
GLADEFILENAME = 'system/fluent.glade'
GLADEFILENAME = os.path.dirname(sys.argv[0]) + '/system/fluent.glade'
class CreateProjectDruid(gtk.Window):
"""A druid for creating a new project.

View File

@ -1,5 +1,6 @@
#!/usr/bin/python
import os
import sys
import pygtk
@ -14,9 +15,9 @@ import pango
from system import project, workflow, dataset, logger, plots, navigator, dialogs
PROGRAM_NAME = 'fluent'
PROGRAM_NAME = 'fluents'
VERSION = '0.1.0'
GLADEFILENAME = 'system/fluent.glade'
GLADEFILENAME = os.path.dirname(sys.argv[0]) + '/system/fluent.glade'
class FluentApp: