/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:
245
245
            item.connect('activate', self.unignore_cb, tree, path)
246
246
            yield item
247
247
        else:
248
 
            kind = tree.kind(file_id)
249
248
            item = Nautilus.MenuItem(name='BzrNautilus::log',
250
249
                             label='History ...',
251
250
                             tip='List changes',
275
274
            item.connect('activate', self.remove_cb, tree, path)
276
275
            yield item
277
276
 
278
 
            if kind == 'file':
279
 
                item = Nautilus.MenuItem(name='BzrNautilus::annotate',
280
 
                             label='Annotate ...',
281
 
                             tip='Annotate File Data',
282
 
                             icon='')
283
 
                item.connect('activate', self.annotate_cb, tree, path, file_id)
284
 
                yield item
 
277
            item = Nautilus.MenuItem(name='BzrNautilus::annotate',
 
278
                         label='Annotate ...',
 
279
                         tip='Annotate File Data',
 
280
                         icon='')
 
281
            item.connect('activate', self.annotate_cb, tree, path, file_id)
 
282
            yield item
285
283
 
286
284
    def get_file_items(self, window, files):
287
285
        items = []