/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 preferences/notifications.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:
34
34
 
35
35
    def __init__(self, config, homogeneous=False, spacing=6):
36
36
        self.config = config
37
 
        Gtk.VBox.__init__(self, homogeneous=homogeneous, spacing=spacing)
 
37
        super(NotificationsPage, self).__init__(
 
38
            homogeneous=homogeneous, spacing=spacing)
38
39
        self.set_spacing(spacing) # The vertical one
39
40
 
40
41
        lan_frame = Gtk.Frame(label="LAN Notifications")