def fatalError(self, error, wrap=1): # FIXME if wrap: text = messageWindow.wrap_text(error) else: text = error dlg = messageWindow.ErrorDialog(text) self._goImmediatelyToFinish()
def fatalError(self, error, wrap=1): rhnregGui.setArrowCursor() # FIXME if wrap: text = messageWindow.wrap_text(error) else: text = error dlg = messageWindow.ErrorDialog(text, self.mainWin) gtk.main_quit() sys.exit(1)
def errorWindow(msg): dlg = messageWindow.ErrorDialog(messageWindow.wrap_text(msg))
def rootWarning(): dlg = messageWindow.ErrorDialog(_("You must run rhn_register as root."))