/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 annotate/gannotate.py

  • Committer: Curtis Hovey
  • Date: 2011-09-03 13:46:52 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110903134652-foz5thvhwg0kcolr
RemovedĀ unusedĀ code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        self.plain = plain
50
50
        self._branch = branch
51
51
 
52
 
        super(GAnnotateWindow, self).__init__(parent=parent)
 
52
        Window.__init__(self, parent)
53
53
 
54
54
        self.set_icon(
55
55
            self.render_icon_pixbuf(Gtk.STOCK_FIND, Gtk.IconSize.BUTTON))
457
457
            self.__cache[revision_id] = revision
458
458
        return self.__cache[revision_id]
459
459
 
460
 
 
461
460
class SearchBox(Gtk.HBox):
462
461
    """A button box for searching in text or lines of annotations"""
463
462
    def __init__(self):
464
 
        super(SearchBox, self).__init__(homogeneous=False, spacing=6)
 
463
        Gtk.HBox.__init__(self, homogeneous=False, spacing=6)
465
464
 
466
465
        # Close button
467
466
        button = Gtk.Button()