/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 nautilus-bzr.py

  • Committer: Jelmer Vernooij
  • Date: 2012-03-05 14:01:51 UTC
  • Revision ID: jelmer@samba.org-20120305140151-zythye0ljphkruax
Support opening push dialog from nautilus.

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
        dialog.display()
125
125
        Gtk.main()
126
126
 
 
127
    def push_cb(self, menu, controldir, path=None):
 
128
        from bzrlib.plugins.gtk.push import PushDialog
 
129
        dialog = PushDialog(branch=controldir.open_workingtree().branch)
 
130
        dialog.display()
 
131
        Gtk.main()
 
132
 
127
133
    def merge_cb(self, menu, tree, path=None):
128
134
        from bzrlib.plugins.gtk.merge import MergeDialog
129
135
        dialog = MergeDialog(tree, path)