Author: aschnell Date: Tue May 18 11:57:08 2010 New Revision: 62025 URL: http://svn.opensuse.org/viewcvs/yast?rev=62025&view=rev Log: - set last-step depending on mount 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=62025&r1=62024&r2=62025&view=diff ============================================================================== --- trunk/storage/storage/src/include/ep-dialogs.ycp (original) +++ trunk/storage/storage/src/include/ep-dialogs.ycp Tue May 18 11:57:08 2010 @@ -86,8 +86,7 @@ y2milestone( "AskPassword data:%1", data ); boolean ret = crypt_fs; if( ret ) - ret = do_format || orig_crypt_fs!=crypt_fs || - size(data["mount"]:"")>0; + ret = do_format || orig_crypt_fs!=crypt_fs || do_mount; if( ret && !do_format ) { string key = (data["type"]:`unknown != `loop) ? (data["device"]:"error") : (data["fpath"]:"error"); @@ -302,11 +301,13 @@ UI::SetFocus(`id(`mount_point)); //propose mountpoints //UI::ChangeWidget(`id(`mount_point), `Items, ProposeMountpoints( used_fs, mount )); + MiniWorkflow::SetLastStep(!AskPassword()); break; case `do_not_mount: do_mount = false; UI::ChangeWidget(`id(`do_mount_attachment), `Enabled, false); + MiniWorkflow::SetLastStep(!AskPassword()); break; case `next: -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org