Example #1
0
    def twisted_error(self, failure):
        dialog = ErrorDialog()
        dialog.set_from_failure(failure)
        dialog.show_all()

        log.err(failure, 'Exception in %s' % self.__gtype_name__)
        return failure
Example #2
0
    def twisted_error(self, failure):
        dialog = ErrorDialog()
        dialog.set_from_failure(failure)
        dialog.show_all()

        log.err(failure, 'Exception in %s' % self.__gtype_name__)
        return failure
Example #3
0
    def twisted_error(self, failure):
        # TODO: throw a message in a less invasive way
        from ErrorDialog import ErrorDialog

        dialog = ErrorDialog()
        dialog.set_from_failure(failure)
        dialog.show_all()
Example #4
0
 def error(failure):
     dialog = ErrorDialog(self.get_toplevel())
     dialog.set_from_failure(failure)
     dialog.show_all()
Example #5
0
 def twisted_error(self, failure):
     from ErrorDialog import ErrorDialog
     dialog = ErrorDialog()
     dialog.set_from_failure(failure)
     dialog.show_all()
Example #6
0
 def twisted_error(self, failure):
     from ErrorDialog import ErrorDialog
     dialog = ErrorDialog()
     dialog.set_from_failure(failure)
     dialog.show_all()
Example #7
0
 def twisted_error(self, failure):
     #TODO: throw a message in a less invasive way
     from ErrorDialog import ErrorDialog
     dialog = ErrorDialog()
     dialog.set_from_failure(failure)
     dialog.show_all()
Example #8
0
 def error(failure):
     dialog = ErrorDialog(self.get_toplevel())
     dialog.set_from_failure(failure)
     dialog.show_all()