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

  • Committer: Curtis Hovey
  • Date: 2011-08-12 20:25:28 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110812202528-4xf4a2t23urx50d2
Updated gst to gtk3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    """Simple Loom browse dialog."""
31
31
 
32
32
    def __init__(self, branch, tree=None, parent=None):
33
 
        super(LoomDialog, self).__init__(
34
 
            title="Threads", parent=parent, flags=0,
35
 
            buttons=(Gtk.STOCK_CLOSE,Gtk.ResponseType.OK))
 
33
        GObject.GObject.__init__(self, title="Threads",
 
34
                                  parent=parent,
 
35
                                  flags=0,
 
36
                                  buttons=(Gtk.STOCK_CLOSE,Gtk.ResponseType.OK))
36
37
        self.branch = branch
37
38
        if tree is not None:
38
39
            self.tree = loom_tree.LoomTreeDecorator(tree)
77
78
 
78
79
        self._diff = DiffWidget()
79
80
        self._diff.show()
80
 
        hbox.pack_end(self._diff, False, False, 0)
 
81
        hbox.pack_end(self._diff)
81
82
 
82
83
        hbox.show_all()
83
 
        self.get_content_area().pack_start(hbox, True, True, 0)
 
84
        self.vbox.pack_start(hbox, True, True, 0)
84
85
 
85
86
        # FIXME: Buttons: combine-thread, revert-loom, record
86
87
        self.set_default_size(500, 350)