Author: jreidinger Date: Mon Mar 16 10:42:57 2009 New Revision: 56130 URL: http://svn.opensuse.org/viewcvs/yast?rev=56130&view=rev Log: improve second tab Modified: branches/tmp/juhliarik/bootloader-UIrefactor/src/modules/BootZIPL.ycp branches/tmp/juhliarik/bootloader-UIrefactor/src/routines/global_widgets.ycp Modified: branches/tmp/juhliarik/bootloader-UIrefactor/src/modules/BootZIPL.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/juhliarik/bootloader-UIref... ============================================================================== --- branches/tmp/juhliarik/bootloader-UIrefactor/src/modules/BootZIPL.ycp (original) +++ branches/tmp/juhliarik/bootloader-UIrefactor/src/modules/BootZIPL.ycp Mon Mar 16 10:42:57 2009 @@ -305,6 +305,11 @@ { return ["image", "menu", "dump"]; } + +map<string,map<string,any> > ziplWidgets(){ + return $[]; +} + /** * Return map of provided functions * @return a map of functions (eg. $["write"::Write]) @@ -320,7 +325,7 @@ "summary" : Summary, "update" : Update, "write" : Write, - "widgets" : genericWidgets, + "widgets" : ziplWidgets, "wizard_sequencer" : WizardSequenzer, "dialogs" : Dialogs, "section_types" : zipl_section_types, Modified: branches/tmp/juhliarik/bootloader-UIrefactor/src/routines/global_widgets.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/juhliarik/bootloader-UIref... ============================================================================== --- branches/tmp/juhliarik/bootloader-UIrefactor/src/routines/global_widgets.ycp (original) +++ branches/tmp/juhliarik/bootloader-UIrefactor/src/routines/global_widgets.ycp Mon Mar 16 10:42:57 2009 @@ -732,23 +732,24 @@ `HStretch (), `VBox ( `Label (""), - "loader_options" + (lt == "none" || lt == "default" || lt == "zipl") + ? `Empty() : "loader_options" ), `HSpacing (2) ), `VSpacing (0.4) )), `VStretch (), - (lt == "none" || lt == "default") + (lt == "none" || lt == "default" || lt == "zipl") ? `Empty () : "loader_location", `VStretch (), - (lt == "none" || lt == "default") + (lt == "none" || lt == "default" || lt == "zipl") ? `Empty () : "inst_details", `VStretch () ), `HStretch ()), - "widget_names": (lt == "none" || lt == "default") + "widget_names": (lt == "none" || lt == "default" || lt=="zipl") ? [ "loader_type", "loader_options", "DisBackButton"] : [ "loader_type", "loader_options", "loader_location", "inst_details", "DisBackButton" ] -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org