Author: kmachalkova Date: Tue Oct 21 16:22:58 2008 New Revision: 52399 URL: http://svn.opensuse.org/viewcvs/yast?rev=52399&view=rev Log: Fixed using function before it is defined & reference to obsolete function Modified: trunk/storage/storage/src/inst_disk_proposal.ycp trunk/storage/storage/src/modules/Storage.ycp Modified: trunk/storage/storage/src/inst_disk_proposal.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/inst_disk_proposal.ycp?rev=52399&r1=52398&r2=52399&view=diff ============================================================================== --- trunk/storage/storage/src/inst_disk_proposal.ycp (original) +++ trunk/storage/storage/src/inst_disk_proposal.ycp Tue Oct 21 16:22:58 2008 @@ -149,7 +149,7 @@ targetMap = prop["target"]:$[]; Storage::SetPartProposalMode( "accept" ); changes = Storage::ChangeText(); - HandlePackages(); + Storage::HandleProposalPackages(); target_is = "SUGGESTION"; Storage::SetPartMode( target_is ); Storage::SetPartProposalFirst( false ); Modified: trunk/storage/storage/src/modules/Storage.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/Storage.ycp?rev=52399&r1=52398&r2=52399&view=diff ============================================================================== --- trunk/storage/storage/src/modules/Storage.ycp (original) +++ trunk/storage/storage/src/modules/Storage.ycp Tue Oct 21 16:22:58 2008 @@ -4470,6 +4470,21 @@ return( ret ); } +global list<string> GetUsedFs() +{ + if (!InitLibstorage(false)) + return nil; + + list<string> r = LibStorage::StorageInterface::getAllUsedFs(sint); + y2milestone("GetUsedFs ret:%1", r); + return r; +} + +global void SaveUsedFs() +{ + y2milestone("SaveUsedFs"); + SCR::Write(.sysconfig.storage.USED_FS_LIST, mergestring(GetUsedFs(), " ")); +} global list<string> AddPackageList() { @@ -6448,24 +6463,6 @@ } -global list<string> GetUsedFs() -{ - if (!InitLibstorage(false)) - return nil; - - list<string> r = LibStorage::StorageInterface::getAllUsedFs(sint); - y2milestone("GetUsedFs ret:%1", r); - return r; -} - - -global void SaveUsedFs() -{ - y2milestone("SaveUsedFs"); - SCR::Write(.sysconfig.storage.USED_FS_LIST, mergestring(GetUsedFs(), " ")); -} - - global boolean IsPersistent( map p ) { boolean ret = contains( [ `lvm, `sw_raid, `dm ], p["type"]:`unknown ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org