def warning_message(self, widget, message):
        self.attention = "WARNING: %s" % message
        messagedialog = gtk.MessageDialog(widget, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_WARNING, gtk.BUTTONS_OK_CANCEL, message)
        messagedialog.show()
        messagedialog.present()
        messagedialog.run()
        messagedialog.destroy()
dataset/ETHPy150Open lionheart/TimeTracker-Linux/libs/Signals.py/uiSignalHelpers.warning_message/original