/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-03-14 02:19:21 UTC
  • mto: (452.2.3 trunk)
  • mto: This revision was merged to the branch mainline in revision 453.
  • Revision ID: jelmer@samba.org-20080314021921-2dgptk62dhp7pd91
Honor child_submit_to in the submit_branch if no email address was specified.
Consistent with the changes in bzr.dev.

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