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

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2007-04-08 21:08:06 UTC
  • mto: This revision was merged to the branch mainline in revision 193.
  • Revision ID: szilveszter.farkas@gmail.com-20070408210806-6g65x53llts4j3mk
Added 'gtags' command and basic Tags window (just a skeleton).

Show diffs side-by-side

added added

removed removed

Lines of Context:
427
427
        dialog.run()
428
428
 
429
429
 
 
430
class cmd_gtags(GTKCommand):
 
431
    def run(self):
 
432
        br = branch.Branch.open_containing('.')[0]
 
433
        
 
434
        gtk = self.open_display()
 
435
        from tags import TagsWindow
 
436
        window = TagsWindow(br)
 
437
        window.show()
 
438
        gtk.main()
 
439
 
 
440
 
430
441
commands = [
431
442
    cmd_gmissing, 
432
443
    cmd_gpreferences, 
439
450
    cmd_gpush, 
440
451
    cmd_gcheckout, 
441
452
    cmd_gbranch,
442
 
    cmd_ginit
 
453
    cmd_ginit,
 
454
    cmd_gtags
443
455
    ]
444
456
 
445
457
for cmd in commands: