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

  • Committer: Jelmer Vernooij
  • Date: 2006-09-26 05:26:06 UTC
  • mto: (0.12.2 olive)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: jelmer@samba.org-20060926052606-00839a63538c7b02
Don't use communicator for status.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
import bzrlib.errors as errors
32
32
from bzrlib.branch import Branch
 
33
from bzrlib.workingtree import WorkingTree
33
34
 
34
35
from dialog import OliveDialog
35
36
from menu import OliveMenu
162
163
    def on_menuitem_branch_status_activate(self, widget):
163
164
        """ Branch/Status... menu handler. """
164
165
        from status import OliveStatus
165
 
        status = OliveStatus(self.gladefile, self.comm, self.dialog)
 
166
        wt, wtpath = WorkingTree.open_containing(self.comm.get_path())
 
167
        status = OliveStatus(self.gladefile, wt, wtpath, self.dialog)
166
168
        status.display()
167
169
    
168
170
    def on_menuitem_branch_initialize_activate(self, widget):