[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] Add _handleIPMissing to NetworkConfigurator class.
- From: David Cantrell <dcantrell redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH] Add _handleIPMissing to NetworkConfigurator class.
- Date: Wed, 5 Nov 2008 13:07:11 -1000
Caught by pychecker.
---
iw/netconfig_dialog.py | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/iw/netconfig_dialog.py b/iw/netconfig_dialog.py
index a3f1626..146be11 100644
--- a/iw/netconfig_dialog.py
+++ b/iw/netconfig_dialog.py
@@ -131,6 +131,14 @@ class NetworkConfigurator:
def destroy(self):
self.window.destroy()
+ def _handleIPMissing(screen, field):
+ d = gtk.MessageDialog(_("Error With Data"), 0, gtk.MESSAGE_ERROR,
+ gtk.BUTTONS_OK,
+ _("A value is required for the field %s.")
+ % (field,))
+ d.run()
+ d.destroy()
+
def _handleIPError(self, field, errmsg):
d = gtk.MessageDialog(_("Error With Data"), 0, gtk.MESSAGE_ERROR,
gtk.BUTTONS_OK,
--
1.6.0.2
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]