Revision 835171dc image_creator/dialog_main.py

b/image_creator/dialog_main.py
375 375

  
376 376
        (code, choice) = d.menu(
377 377
            text="Choose one of the following or press <Back> to go back.",
378
            width=MENU_WIDTH, choices=choices, cancel="Back",
379
            default_item=default_item, title="Image Registration Menu")
378
            width=MENU_WIDTH, choices=choices, cancel="Back", height=13,
379
            menu_height=5, default_item=default_item,
380
            title="Image Registration Menu")
380 381

  
381 382
        if code in (d.DIALOG_CANCEL, d.DIALOG_ESC):
382 383
            return False
......
607 608
    syspreps = [s for s in all_syspreps if s not in session['exec_syspreps']]
608 609

  
609 610
    if len(syspreps) == 0:
610
        d.msgbox("No system preparation task left to run!", width=MSGBOX_WIDTH)
611
        d.msgbox("No system preparation task available to run!",                                 title="System Preperation", width=MSGBOX_WIDTH)
611 612
        return
612 613

  
613 614
    while 1:
......
677 678
    shrinked = 'shrinked' in session and session['shrinked']
678 679

  
679 680
    if shrinked:
680
        d.msgbox("You have already shrinked your image!")
681
        d.msgbox("The image is already shrinked!", title="Image Shrinking",
682
                 width=MSGBOX_WIDTH)
681 683
        return True
682 684

  
683 685
    msg = "This operation will shrink the last partition of the image to " \

Also available in: Unified diff