/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 annotate/gannotate.py

  • Committer: Gary van der Merwe
  • Date: 2007-08-10 10:45:06 UTC
  • mto: This revision was merged to the branch mainline in revision 256.
  • Revision ID: garyvdm@gmail.com-20070810104506-wo2mp9zfkh338axe
Make icon locations consistant between source and installed version. Let glade nkow where to find the icons with a project file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
        self.revision_id = getattr(tree, 'get_revision_id', 
67
67
                                   lambda: CURRENT_REVISION)()
68
68
        
69
 
        # [revision id, line number, author, revno, highlight color, line]
 
69
        # [revision id, line number, committer, revno, highlight color, line]
70
70
        self.annomodel = gtk.ListStore(gobject.TYPE_STRING,
71
71
                                       gobject.TYPE_STRING,
72
72
                                       gobject.TYPE_STRING,
84
84
                    revno = committer = ""
85
85
                else:
86
86
                    last_seen = revision.revision_id
87
 
                    committer = revision.properties.get('author',
88
 
                        revision.committer)
 
87
                    committer = revision.committer
89
88
 
90
89
                if revision.revision_id not in self.revisions:
91
90
                    self.revisions[revision.revision_id] = revision