/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: 2008-03-04 18:05:39 UTC
  • mto: (437.1.3 bzr-gtk)
  • mto: This revision was merged to the branch mainline in revision 439.
  • Revision ID: jelmer@samba.org-20080304180539-8p97a98l1xacv0h6
Remove fork() hack, it breaks X.

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