def fatalError(self, error, wrap=1):
     # FIXME
     if wrap:
         text = messageWindow.wrap_text(error)
     else:
         text = error
     dlg = messageWindow.ErrorDialog(text)
     self._goImmediatelyToFinish()
Exemple #2
0
    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)
Exemple #3
0
def errorWindow(msg):
    dlg = messageWindow.ErrorDialog(messageWindow.wrap_text(msg))
Exemple #4
0
def rootWarning():
    dlg = messageWindow.ErrorDialog(_("You must run rhn_register as root."))