/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: Martin Albisetti
  • Date: 2008-03-04 18:29:24 UTC
  • mfrom: (423.13.4 nautilus-fix)
  • mto: This revision was merged to the branch mainline in revision 439.
  • Revision ID: beuno@beuno-laptop-20080304182924-yvm7ds9zwpenotg5
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
import gtk
10
10
import nautilus
11
 
import os
12
11
import bzrlib
13
12
from bzrlib.branch import Branch
14
13
from bzrlib.bzrdir import BzrDir
159
158
                path = e.path
160
159
 
161
160
        from bzrlib.plugins.gtk.commit import CommitDialog
162
 
        dialog = CommitDialog(tree, path, not branch)
 
161
        dialog = CommitDialog(tree, path)
163
162
        response = dialog.run()
164
163
        if response != gtk.RESPONSE_NONE:
165
164
            dialog.hide()
178
177
        except NotBranchError:
179
178
            return
180
179
 
181
 
        if os.fork() == 0:
182
 
            vis = cmd_visualise()
183
 
            vis.run(file)
 
180
        vis = cmd_visualise()
 
181
        vis.run(file)
184
182
 
185
183
        return
186
184