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

  • Committer: Curtis Hovey
  • Date: 2011-09-05 03:44:26 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110905034426-p98pxnay9rmzkr99
Fix the initializer for many classes.
Replace Gtk.Dialog.vbox with .get_content_area().

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
    """Window for displaying diffs from a diff file"""
69
69
 
70
70
    def __init__(self):
71
 
        Gtk.ScrolledWindow.__init__(self)
 
71
        super(DiffFileView, self).__init__()
72
72
        self.construct()
73
73
        self._diffs = {}
74
74
 
250
250
    """This is the soft and chewy filling for a DiffWindow."""
251
251
 
252
252
    def __init__(self):
253
 
        DiffFileView.__init__(self)
 
253
        super(DiffView, self).__init__()
254
254
        self.rev_tree = None
255
255
        self.parent_tree = None
256
256
 
411
411
    """
412
412
 
413
413
    def __init__(self, parent=None, operations=None):
414
 
        Window.__init__(self, parent)
 
414
        super(DiffWindow, self).__init__(parent=parent)
415
415
        self.set_border_width(0)
416
416
        self.set_title("bzrk diff")
417
417
 
578
578
class MergeDirectiveController(DiffController):
579
579
 
580
580
    def __init__(self, path, directive, window=None):
581
 
        DiffController.__init__(self, path, directive.patch.splitlines(True),
582
 
                                window)
 
581
        super(MergeDirectiveController, self).__init__(
 
582
            path, directive.patch.splitlines(True), window)
583
583
        self.directive = directive
584
584
        self.merge_target = None
585
585