GTK3 fix for gender dialog

svn: r20165
This commit is contained in:
Gary Burton 2012-07-31 21:55:20 +00:00
parent 55685f32b6
commit e72e446759

View File

@ -1056,7 +1056,7 @@ class EditPerson(EditPrimary):
class GenderDialog(Gtk.MessageDialog): class GenderDialog(Gtk.MessageDialog):
def __init__(self, parent=None): def __init__(self, parent=None):
GObject.GObject.__init__(self, Gtk.MessageDialog.__init__(self,
parent, parent,
flags=Gtk.DialogFlags.MODAL, flags=Gtk.DialogFlags.MODAL,
type=Gtk.MessageType.QUESTION, type=Gtk.MessageType.QUESTION,