Fix SpinButton error in N-way merge.

This commit is contained in:
Romain Failliot 2016-07-04 22:00:03 -04:00
parent 721a8d04fe
commit 155affe741
1 changed files with 1 additions and 1 deletions

View File

@ -6787,7 +6787,7 @@ class NumericDialog(gtk.Dialog):
hbox.pack_start(label, False, False, 0) hbox.pack_start(label, False, False, 0)
label.show() label.show()
adj = gtk.Adjustment(val, lower, upper, step, page) adj = gtk.Adjustment(val, lower, upper, step, page)
self.button = button = gtk.SpinButton(adj, 0) self.button = button = gtk.SpinButton.new(adj, 1.0, 0)
button.connect('activate', self.button_cb) button.connect('activate', self.button_cb)
hbox.pack_start(button, True, True, 0) hbox.pack_start(button, True, True, 0)
button.show() button.show()