From 1a92c9d999287ffb56a892ce4480c8f5bb22cbda Mon Sep 17 00:00:00 2001 From: wiktor w brodlo Date: Thu, 4 Aug 2011 02:15:25 +0000 Subject: iw/systools_gui.py: validation --- iw/systools_gui.py | 3 +++ ui/systools.glade | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/iw/systools_gui.py b/iw/systools_gui.py index b8c67ac..5c0ccbd 100644 --- a/iw/systools_gui.py +++ b/iw/systools_gui.py @@ -37,6 +37,9 @@ class SystoolsWindow(InstallWindow): def getNext(self): self.anaconda.cron = self.cron.get_active_text() self.anaconda.syslog = self.syslog.get_active_text() + if self.anaconda.syslog == "": + self.anaconda.intf.messageWindow(_("Select syslog"), _("You must select a system logger!")) + raise gui.StayOnScreen return None def getScreen(self, anaconda): diff --git a/ui/systools.glade b/ui/systools.glade index 69ebcbc..70a40bd 100644 --- a/ui/systools.glade +++ b/ui/systools.glade @@ -22,6 +22,8 @@ True False + 0 + 0 Pick your system logger: right @@ -30,6 +32,8 @@ True False + 0 + 0 Pick your cron: right @@ -56,6 +60,7 @@ metalog True False + 0 (none) dcron fcron -- cgit v1.2.3-65-gdbad