/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/__init__.py

  • Committer: Aaron Bentley
  • Date: 2007-02-15 18:55:47 UTC
  • mto: (157.1.8 trunk) (126.1.33 bzr-gtk)
  • mto: This revision was merged to the branch mainline in revision 160.
  • Revision ID: abentley@panoramicfeedback.com-20070215185547-npzcf248qp9a6fqk
Defer importing branchwin to avoid cairo import errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
from bzrlib.branch import Branch
35
35
import bzrlib.errors as bzrerrors
 
36
from bzrlib.lazy_import import lazy_import
36
37
from bzrlib.workingtree import WorkingTree
37
38
 
38
39
from bzrlib.plugins.gtk.dialog import error_dialog, info_dialog, warning_dialog
40
41
from guifiles import GLADEFILENAME
41
42
 
42
43
from bzrlib.plugins.gtk.diff import DiffWindow
43
 
from bzrlib.plugins.gtk.viz.branchwin import BranchWindow
 
44
lazy_import(globals(), """
 
45
from bzrlib.plugins.gtk.viz import branchwin
 
46
""")
44
47
from bzrlib.plugins.gtk.annotate.gannotate import GAnnotateWindow
45
48
from bzrlib.plugins.gtk.annotate.config import GAnnotateConfig
46
49
from bzrlib.plugins.gtk.commit import CommitDialog
435
438
    
436
439
    def on_menuitem_stats_log_activate(self, widget):
437
440
        """ Statistics/Log... menu handler. """
438
 
        window = BranchWindow()
 
441
        window = branchwin.BranchWindow()
439
442
        window.set_branch(self.wt.branch, self.wt.branch.last_revision(), None)
440
443
        window.show()
441
444