/[gli]/trunk/src/fe/dialog/dialogfe.py
Gentoo

Diff of /trunk/src/fe/dialog/dialogfe.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 456 Revision 457
299 install_profile.set_boot_loader_pkg(None, menuitem, None) 299 install_profile.set_boot_loader_pkg(None, menuitem, None)
300 if d.yesno("Do you want the boot loader installed in the MBR?") == DLG_YES: 300 if d.yesno("Do you want the boot loader installed in the MBR?") == DLG_YES:
301 install_profile.set_boot_loader_mbr(None, True, None) 301 install_profile.set_boot_loader_mbr(None, True, None)
302 else: 302 else:
303 install_profile.set_boot_loader_mbr(None, False, None) 303 install_profile.set_boot_loader_mbr(None, False, None)
304 code, kernel_args = d.inputbox("Add any optional arguments to pass to the kernel at boot here:")
305 if code == DLG_OK: install_profile.set_kernel_args(None, kernel_args, None)
304 306
305def set_timezone(): 307def set_timezone():
306# This section will be for setting the timezone. It pulls from /usr/share/zoneinfo/zone.tab. 308# This section will be for setting the timezone. It pulls from /usr/share/zoneinfo/zone.tab.
307 tzlist = [] 309 tzlist = []
308 file = open("/usr/share/zoneinfo/zone.tab") 310 file = open("/usr/share/zoneinfo/zone.tab")
519 break 521 break
520 522
521def set_services(): 523def set_services():
522 code, services = d.inputbox("Enter a space-separated list of services to start on boot") 524 code, services = d.inputbox("Enter a space-separated list of services to start on boot")
523 if code == DLG_OK: install_profile.set_services(None, services, None) 525 if code == DLG_OK: install_profile.set_services(None, services, None)
526
524def save_install_profile(xmlfilename="", askforfilename=True): 527def save_install_profile(xmlfilename="", askforfilename=True):
525 code = 0 528 code = 0
526 filename = xmlfilename 529 filename = xmlfilename
527 if askforfilename: 530 if askforfilename:
528 code, filename = d.inputbox("Enter a filename for the XML file", init=xmlfilename) 531 code, filename = d.inputbox("Enter a filename for the XML file", init=xmlfilename)

Legend:
Removed from v.456  
changed lines
  Added in v.457

  ViewVC Help
Powered by ViewVC 1.1.20