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

  • Committer: Curtis Hovey
  • Date: 2011-08-13 01:12:20 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110813011220-qj1u0dvft7jk0x6m
Updated gpush to gtk3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
__author__    = "Gary van der Merwe <garyvdm@gmail.com>"
8
8
 
9
9
 
10
 
from gi.repository import Gtk
11
 
from gi.repository import GObject
 
10
import gtk
 
11
import gobject
12
12
from xml.sax.saxutils import escape
13
13
 
14
14
from bzrlib.config import parse_username
34
34
TAGS = 12
35
35
AUTHORS = 13
36
36
 
37
 
class TreeModel(Gtk.TreeStore):
 
37
class TreeModel(Gtk.GenericTreeModel):
38
38
 
39
39
    def __init__ (self, branch, line_graph_data):
40
 
        Gtk.TreeStore.__init__(self)
 
40
        GObject.GObject.__init__(self)
41
41
        self.revisions = {}
42
42
        self.branch = branch
43
43
        self.repository = branch.repository