/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: Jelmer Vernooij
  • Date: 2008-05-01 12:55:33 UTC
  • mto: This revision was merged to the branch mainline in revision 488.
  • Revision ID: jelmer@samba.org-20080501125533-hesg3b13cxgsyqa2
Import Chris Lamb's olive-gtk manpage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
import os
18
18
import sys
19
19
 
20
 
from bzrlib.plugins.gtk import _i18n
21
20
 
22
21
GLADEFILENAMES = ["/usr/share/olive/olive.glade",
23
22
                  "/usr/local/share/olive/olive.glade",
45
44
 
46
45
if GLADEFILENAME is None:
47
46
    # Fail
48
 
    print _i18n('Glade file cannot be found.')
 
47
    print _('Glade file cannot be found.')
49
48
    sys.exit(1)
50
49
 
51
50
UIFILEDIR = os.path.dirname(GLADEFILENAME)
55
54
 
56
55
if not os.path.isfile(UIFILENAME):
57
56
    # Fail
58
 
    print _i18n('UI description file cannot be found.')
 
57
    print _('UI description file cannot be found.')
59
58
    sys.exit(1)
60
59
 
61
60