Author: jsuchome Date: Tue Jul 22 09:25:52 2008 New Revision: 49309 URL: http://svn.opensuse.org/viewcvs/yast?rev=49309&view=rev Log: ok, this client is not used, but let's fix it for the unusual case someone would like to call it... Modified: trunk/firstboot/src/firstboot_finish.ycp Modified: trunk/firstboot/src/firstboot_finish.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/firstboot/src/firstboot_finish.ycp?rev=49309&r1=49308&r2=49309&view=diff ============================================================================== --- trunk/firstboot/src/firstboot_finish.ycp (original) +++ trunk/firstboot/src/firstboot_finish.ycp Tue Jul 22 09:25:52 2008 @@ -12,6 +12,7 @@ { textdomain "firstboot"; + import "Misc"; import "Mode"; import "Wizard"; import "Popup"; @@ -63,19 +64,22 @@ // If text exists, read it from file instead. + string finish_text = Misc::SysconfigRead ( + .sysconfig.firstboot.FIRSTBOOT_FINISH_FILE, ""); + if (finish_text == "") + finish_text = text; term contents = `VBox ( - `VSpacing (space), - `HBox ( - `HSpacing (2*space), - Firstboot::DetectRichText("FIRSTBOOT_FINISH_FILE", - text), - `HSpacing (2*space) - ), - `VSpacing (space), - check_box_start_y2cc, - `VSpacing (2) - ); + `VSpacing (space), + `HBox ( + `HSpacing (2*space), + `RichText (finish_text) + `HSpacing (2*space) + ), + `VSpacing (space), + check_box_start_y2cc, + `VSpacing (2) + ); // help 1/4 for dialog "Congratulation Dialog" string help = _("<p>Your system is ready for use.</p>") + -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org