/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-gtk

  • Committer: Jelmer Vernooij
  • Date: 2008-06-29 16:24:24 UTC
  • mto: This revision was merged to the branch mainline in revision 519.
  • Revision ID: jelmer@samba.org-20080629162424-48a6rrjmmpejfcyr
Stop emitting no longer used revisions-loaded message.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
import os
20
20
import sys
 
21
import re
21
22
 
22
23
try:
23
24
    version_info = sys.version_info
75
76
        print >>sys.stderr, "bzr not found"
76
77
        sys.exit(1)
77
78
    else:
78
 
        for i in s.splitlines():
79
 
            if i.startswith("Using bzrlib: "):
80
 
                path = os.path.split(i[14:])[0]
81
 
                sys.path.append(path)
82
 
                break
 
79
        bzrlib_match = re.compile(r"bzrlib: (.*)[/\\]bzrlib").search(s)
 
80
        if bzrlib_match:
 
81
            sys.path.append(bzrlib_match.group(1))
83
82
        else:
84
83
            print >>sys.stderr, "Can't find bzrlib location"
85
84
            sys.exit(1)
91
90
import bzrlib.plugins.gtk.ui as ui
92
91
bzrlib.ui.ui_factory = ui.GtkUIFactory()
93
92
 
94
 
from olive import OliveGtk
 
93
from bzrlib.plugins.gtk.olive import OliveGtk
95
94
app = OliveGtk()
96
95
gtk.main()