/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: Javier Derderian
  • Date: 2008-04-11 20:34:06 UTC
  • mto: (465.1.1 gtk.patch)
  • mto: This revision was merged to the branch mainline in revision 466.
  • Revision ID: javierder@gmail.com-20080411203406-ftlwyodw9vr87olv
Updated "Compare with..." (#78765) to use revbrowser.RevisionBrowser.
Also needed to fix #215872 to make it work.

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