/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 avatarsbox.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:
31
31
 
32
32
    def __init__(self, apparent_username):
33
33
        """ Constructor """
34
 
        Gtk.HBox.__init__(self)
 
34
        super(Avatar, self).__init__()
35
35
 
36
36
        self.apparent_username = apparent_username
37
37
        self.username, self.email = parse_username(apparent_username)
77
77
    """HBox showing an avatar."""
78
78
 
79
79
    def __init__(self, homogeneous=False, spacing=0):
80
 
        Gtk.HBox.__init__(self, homogeneous=homogeneous, spacing=spacing)
 
80
        super(AvatarBox, self).__init__(
 
81
            homogeneous=homogeneous, spacing=spacing)
81
82
        self.__avatars = {}
82
83
        self.avatar = None
83
84
        self.__displaying = None