Author: aschnell Date: Thu Mar 4 15:34:57 2010 New Revision: 61151 URL: http://svn.opensuse.org/viewcvs/yast?rev=61151&view=rev Log: - adapted to libstorage API change Modified: trunk/storage/storage/src/modules/Storage.ycp trunk/storage/storage/src/testsuite/data/reuse-home/free.info Modified: trunk/storage/storage/src/modules/Storage.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/Stora... ============================================================================== --- trunk/storage/storage/src/modules/Storage.ycp (original) +++ trunk/storage/storage/src/modules/Storage.ycp Thu Mar 4 15:34:57 2010 @@ -830,7 +830,7 @@ content_info = $[ `windows : LibStorage::ContentInfo::swig_windows_get(tmp2), `efi : LibStorage::ContentInfo::swig_efi_get(tmp2), - `home : LibStorage::ContentInfo::swig_home_get(tmp2) + `homes : LibStorage::ContentInfo::swig_homes_get(tmp2) ]; } } @@ -3593,7 +3593,7 @@ map<symbol, any> content_info = $[]; if (GetFreeInfo(device, false, resize_info, true, content_info, true) && - content_info[`home]:false) + content_info[`homes]:0 > 0) { ret = true; } Modified: trunk/storage/storage/src/testsuite/data/reuse-home/free.info URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/testsuite/dat... ============================================================================== --- trunk/storage/storage/src/testsuite/data/reuse-home/free.info (original) +++ trunk/storage/storage/src/testsuite/data/reuse-home/free.info Thu Mar 4 15:34:57 2010 @@ -10,6 +10,6 @@ <content_cached>true</content_cached> <windows>false</windows> <efi>false</efi> - <home>true</home> + <homes>2</homes> </free> </free> -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org