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

  • Committer: Vincent Ladeuil
  • Date: 2010-02-24 08:56:08 UTC
  • Revision ID: v.ladeuil+lp@free.fr-20100224085608-ybyx6m452lc5iua2
Open 0.99.0 for development.

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
    """GTK+ annotate.
200
200
    
201
201
    Browse changes to FILENAME line by line in a GTK+ window.
202
 
 
203
 
    Within the annotate window, you can use Ctrl-F to search for text, and 
204
 
    Ctrl-G to jump to a line by number.
205
202
    """
206
203
 
207
204
    takes_args = ["filename", "line?"]
375
372
        dialog.run()
376
373
 
377
374
 
 
375
class cmd_ginfo(Command):
 
376
    """ GTK+ info dialog
 
377
    
 
378
    """
 
379
    def run(self):
 
380
        from bzrlib import workingtree
 
381
        from bzrlib.plugins.gtk.olive.info import InfoDialog
 
382
        wt = workingtree.WorkingTree.open_containing('.')[0]
 
383
        info = InfoDialog(wt.branch)
 
384
        info.display()
 
385
        info.window.run()
 
386
 
 
387
 
378
388
class cmd_gmerge(Command):
379
389
    """ GTK+ merge dialog
380
390