Author: aschnell Date: Wed Feb 27 10:22:54 2008 New Revision: 45060 URL: http://svn.opensuse.org/viewcvs/yast?rev=45060&view=rev Log: - added more filters Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-all.ycp Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-all.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/include/ep-all.ycp?rev=45060&r1=45059&r2=45060&view=diff ============================================================================== --- branches/tmp/aschnell/part-redesign/storage/src/include/ep-all.ycp (original) +++ branches/tmp/aschnell/part-redesign/storage/src/include/ep-all.ycp Wed Feb 27 10:22:54 2008 @@ -18,11 +18,15 @@ { if (filter_ == `all) return `showandfollow; - - // TODO include `CT_DMRAID in `disks - - map tmp = $[ `disks : `CT_DISK, `lvm : `CT_LVM, `nfs : `CT_NFS ]; - if (disk["type"]:`none == tmp[filter_]:`none) + + map<symbol, symbol> tmp = $[ `CT_DMRAID : `disks, + `CT_DISK : `disks, + `CT_LVM : `lvm, + `CT_MD : `raid, + `CT_LOOP : `loop, + `CT_NFS : `nfs ]; + + if (tmp[disk["type"]:`none]:`none == filter_) return `showandfollow; else return `ignore; @@ -52,7 +56,9 @@ SelectOne([`item(`id(`all), "All"), `item(`id(`disks), "Disks"), `item(`id(`lvm), "LVM"), - `item(`id(`nfs), "NFS")], + `item(`id(`raid), "RAID"), + `item(`id(`loop), "Crypt Files"), + `item(`id(`nfs), "NFS")], `id(filter_)))), `Table(`id(`table), `opt(`keepSorting), header, table_list -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org