/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: Dan Loda
  • Date: 2005-10-30 05:49:31 UTC
  • mto: (0.1.25 gannotate)
  • mto: This revision was merged to the branch mainline in revision 49.
  • Revision ID: danloda@gmail.com-20051030054931-134d5e106f0ccfa0
Remember window state. This introduces the gannotate.conf configuration file,
written to the bazaar configuration directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
            raise NotVersionedError(filename)
50
50
 
51
51
        from gannotate import GAnnotateWindow
 
52
        from config import GAnnotateConfig
52
53
 
53
54
        window = GAnnotateWindow(all, plain)
 
55
        window.connect("destroy", lambda w: gtk.main_quit())
 
56
        window.set_title(path + " - gannotate")
 
57
        config = GAnnotateConfig(window)
54
58
        window.show()
55
 
        window.set_title(path + " - gannotate")
56
59
        window.annotate(branch, file_id)
57
 
        window.connect("destroy", lambda w: gtk.main_quit())
 
60
        
58
61
        gtk.main()
59
62
 
60
63