show YesNoDialogs. Fixes #1814
This commit is contained in:
parent
14c5213a58
commit
897fd6c35e
|
@ -674,6 +674,7 @@ class YesNoDialog(HigDialog):
|
||||||
HigDialog.__init__( self, None,
|
HigDialog.__init__( self, None,
|
||||||
gtk.MESSAGE_QUESTION, gtk.BUTTONS_YES_NO, pritext, sectext,
|
gtk.MESSAGE_QUESTION, gtk.BUTTONS_YES_NO, pritext, sectext,
|
||||||
on_response_yes = on_response_yes, on_response_no = on_response_no)
|
on_response_yes = on_response_yes, on_response_no = on_response_no)
|
||||||
|
self.popup()
|
||||||
|
|
||||||
class ConfirmationDialogCheck(ConfirmationDialog):
|
class ConfirmationDialogCheck(ConfirmationDialog):
|
||||||
'''HIG compliant confirmation dialog with checkbutton.'''
|
'''HIG compliant confirmation dialog with checkbutton.'''
|
||||||
|
|
Loading…
Reference in New Issue