~huxuan/gtg/port-to-gtk3-py3

« back to all changes in this revision

Viewing changes to GTG/gtk/backends_dialog/addpanel.py

  • Committer: huxuan
  • Date: 2013-09-04 17:48:19 UTC
  • Revision ID: i@huxuan.org-20130904174819-tkdsjm3ih0ttpyby
Fix deprecated objects

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
        self.ok_button.connect('clicked', self.on_confirm)
126
126
        align = Gtk.Alignment.new(0.5, 1, 1, 0)
127
127
        align.set_padding(0, 10, 0, 0)
128
 
        buttonbox = Gtk.HButtonBox()
 
128
        buttonbox = Gtk.ButtonBox()
129
129
        buttonbox.set_layout(Gtk.ButtonBoxStyle.EDGE)
130
130
        buttonbox.add(cancel_button)
131
131
        buttonbox.set_child_secondary(cancel_button, False)