/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 branchview/treeview.py

  • Committer: Daniel Schierbeck
  • Date: 2008-01-21 17:32:13 UTC
  • mto: (423.1.8 trunk)
  • mto: This revision was merged to the branch mainline in revision 429.
  • Revision ID: daniel.schierbeck@gmail.com-20080121173213-clh9wqhrqaq9e2uw
Made revisionview and branchview update when a tag is added.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
                             ()),
75
75
        'revision-selected': (gobject.SIGNAL_RUN_FIRST,
76
76
                              gobject.TYPE_NONE,
77
 
                              ())
 
77
                              ()),
 
78
        'tag-added': (gobject.SIGNAL_RUN_FIRST,
 
79
                              gobject.TYPE_NONE,
 
80
                              (gobject.TYPE_STRING, gobject.TYPE_STRING))
78
81
    }
79
82
 
80
83
    def __init__(self, branch, start, maxnum, compact=True):
183
186
 
184
187
        finally:
185
188
            self.branch.lock_read()
 
189
 
 
190
        self.emit('tag-added', tag, revid)
186
191
        
187
192
    def refresh(self):
188
193
        gobject.idle_add(self.populate, self.get_revision())