26
26
def _message_dialog(type, primary, secondary, parent=None, buttons=gtk.BUTTONS_OK):
27
27
""" Display a given type of MessageDialog with the given message.
29
29
:param type: message dialog type
31
31
:param message: the message you want to display.
33
33
dialog = gtk.MessageDialog(flags=gtk.DIALOG_MODAL, type=type, parent=parent,