/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: Szilveszter Farkas (Phanatic)
  • Date: 2008-03-03 17:24:22 UTC
  • mto: This revision was merged to the branch mainline in revision 435.
  • Revision ID: szilveszter.farkas@gmail.com-20080303172422-y1u0gg7kyirrxuun
Installing an olive package is pretty useless. (Fixed: #136432)

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