Remove ErrorDialog and WarningDialog from reports. Replace with User.warn() and User.notify_error().

svn: r18388
This commit is contained in:
Brian Matherly
2011-10-31 02:40:19 +00:00
parent 366daad079
commit 93ec059b3d
10 changed files with 85 additions and 87 deletions

View File

@@ -79,8 +79,7 @@ class User():
def warn(self, title, warning):
"""
Warn the user. The user will be forced to acknowledge the warning before
proceeding.
Warn the user.
@param title: the title of the warning
@type title: str
@@ -92,8 +91,7 @@ class User():
def notify_error(self, title, error):
"""
Notify the user of an error. The user will be forced to acknowledge the
error before proceeding.
Notify the user of an error.
@param title: the title of the error
@type title: str