/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to olive/guifiles.py

  • Committer: Andrew Bennetts
  • Date: 2008-04-29 08:17:01 UTC
  • mto: This revision was merged to the branch mainline in revision 476.
  • Revision ID: andrew@puzzling.org-20080429081701-2pu9uteic8o88nre
Simple hack to fix gannotate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
                  "/usr/local/share/olive/olive.glade",
23
23
                  "/opt/share/olive/olive.glade",
24
24
                  "/opt/local/share/olive/olive.glade",
 
25
                  "~/share/olive/olive.glade",
25
26
                 ]
26
27
 
27
28
# Get the glade file name
36
37
GLADEFILENAME = None
37
38
 
38
39
for path in GLADEFILENAMES:
 
40
    path = os.path.expanduser(path)
39
41
    if os.path.isfile(path):
40
42
        GLADEFILENAME = path
41
43
        break