Author: aschnell Date: Mon Oct 13 14:22:24 2008 New Revision: 52138 URL: http://svn.opensuse.org/viewcvs/yast?rev=52138&view=rev Log: - fixed check for encrypted root (bnc #432427) - fixed check for multiple identical mount points (bnc #434282) Modified: trunk/storage/package/yast2-storage.changes trunk/storage/storage/src/include/ep-dialogs.ycp Modified: trunk/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=52138&r1=52137&r2=52138&view=diff ============================================================================== --- trunk/storage/package/yast2-storage.changes (original) +++ trunk/storage/package/yast2-storage.changes Mon Oct 13 14:22:24 2008 @@ -2,6 +2,8 @@ Mon Oct 13 11:06:58 CEST 2008 - aschnell@suse.de - do not display filesystem and mount options dialog twice +- fixed check for encrypted root (bnc #432427) +- fixed check for multiple identical mount points (bnc #434282) - 2.17.37 ------------------------------------------------------------------- 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=52138&r1=52137&r2=52138&view=diff ============================================================================== --- trunk/storage/storage/src/include/ep-dialogs.ycp (original) +++ trunk/storage/storage/src/include/ep-dialogs.ycp Mon Oct 13 14:22:24 2008 @@ -260,7 +260,17 @@ crypt_fs = (boolean) UI::QueryWidget(`id(`crypt_fs), `Value); do_mount = (boolean) UI::QueryWidget(`id(`do_mount), `Value); mount = (string) UI::QueryWidget(`id(`mount_point), `Value); + // TODO: checks + + map ret_mp = CheckOkMount(data["device"]:"error", orig_data, data); + if (!ret_mp["ok"]:false) + { + if (ret_mp["field"]:`none != `none) + UI::SetFocus(`id(ret_mp["field"]:`none)); + widget = `again; + } + break; } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org