firstboot: hide option to setup NTP (#286)

NTP will be used anyway, but at this stage there is no network connection in
dom0 to verify setup.
This commit is contained in:
Marek Marczykowski 2011-07-21 01:58:05 +02:00
parent dfd29e7561
commit fae554ff5f

View File

@ -65,6 +65,10 @@ class moduleClass(Module):
self.vbox.pack_start(label, False, True, padding=20)
self.scd = scdMainWindow(firstboot=True, showPages=["datetime"])
widget = self.scd.firstboot_widget()
for w in widget.get_nth_page(0):
if w.name == 'ntp_check':
w.hide()
self.vbox.pack_start(self.scd.firstboot_widget(), False, False)
def initializeUI(self):