/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 logview.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:
30
30
    start.
31
31
    """
32
32
 
33
 
    def __init__(self, revision=None, scroll=True, tags=None):
 
33
    def __init__(self, revision=None, scroll=True, tags=[]):
34
34
        super(LogView, self).__init__()
35
35
        if scroll:
36
36
            self.set_policy(gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC)
51
51
    def set_go_callback(self, callback):
52
52
        self._go_callback = callback
53
53
 
54
 
    def set_revision(self, revision, tags=None):
 
54
    def set_revision(self, revision, tags=[]):
55
55
        self._revision = revision
56
56
        self.revision_id.set_text(revision.revision_id)
57
57
        if revision.committer is not None: