client/rhel/rhn-client-tools/src/up2date_client/messageWindow.py | 23 ----------
1 file changed, 23 deletions(-)
New commits:
commit 9be2d8bb447563552724af26690134ee55c41dea
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Mon May 31 16:59:10 2010 +0200
Removing WarningDialog, OkDialog, and QuestionDialog that are not used in our code.
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/messageWindow.py
b/client/rhel/rhn-client-tools/src/up2date_client/messageWindow.py
index 3bf02eb..4dfd37d 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/messageWindow.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/messageWindow.py
@@ -96,21 +96,6 @@ class ErrorDialog(MessageWindow):
type="error",
parent=parent)
-class WarningDialog(MessageWindow):
- def __init__ (self, text, parent=None):
- MessageWindow.__init__(self, _("Warning:"),
- text,
- type="warning",
- parent=parent)
-
-class OkDialog(MessageWindow):
- def __init__ (self, text, parent=None):
- MessageWindow.__init__(self, _("OK dialog:"),
- text,
- type="ok",
- parent=parent)
-
-
class YesNoDialog(MessageWindow):
def __init__ (self, text, parent=None):
MessageWindow.__init__(self,_("Yes/No dialog:"),
@@ -118,14 +103,6 @@ class YesNoDialog(MessageWindow):
type="yesno",
parent=parent)
-class QuestionDialog(MessageWindow):
- def __init__ (self, text, parent=None):
- MessageWindow.__init__(self,_("Question dialog:"),
- text,
- type="question",
- parent=parent)
-
-
class BulletedOkDialog:
"""A dialog box that can have one more sections of text. Each section
can
be standard blob of text or a bulleted item.