Author: aschnell Date: Tue Oct 21 19:51:22 2008 New Revision: 52410 URL: http://svn.opensuse.org/viewcvs/yast?rev=52410&view=rev Log: - added help-text Modified: trunk/storage/storage/src/include/ep-dialogs.ycp Modified: trunk/storage/storage/src/include/ep-dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-dialogs.ycp?rev=52410&r1=52409&r2=52410&view=diff ============================================================================== --- trunk/storage/storage/src/include/ep-dialogs.ycp (original) +++ trunk/storage/storage/src/include/ep-dialogs.ycp Tue Oct 21 19:51:22 2008 @@ -628,7 +628,7 @@ `Left(`Label( sformat(_("Maximum Partition Size: %1 %2"), total, unit ))), `HBox( `ButtonBox( - `PushButton(`id(`help), Label::HelpButton()), + `PushButton(`id(`help), `opt(`helpButton), Label::HelpButton()), `PushButton(`id(`cancel), `opt(`cancelButton), Label::CancelButton()), `PushButton(`id(`ok), `opt(`default, `okButton), Label::OKButton()) ) @@ -636,6 +636,13 @@ ) ); + // help text + string help_text = _("<p>Choose the new size by draging the slider or by entering a +numeric value in either input field.</p>"); + + UI::ChangeWidget(`help, `HelpText, help_text); + + any widget = nil; integer old_size = used + free; integer new_size = old_size; @@ -645,11 +652,6 @@ switch ( (symbol) widget) { - case `help: - { - Popup::LongText(_("Partition Resizing"), `RichText("To-Do: Let's get outta here"), 50, 20); - break; - } case `new_size: { new_size = (integer) UI::QueryWidget(`id(`new_size), `Value); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org