[yast-commit] r62343 - /trunk/storage/storage/src/include/ep-hd.ycp
Author: aschnell Date: Wed Aug 4 18:52:20 2010 New Revision: 62343 URL: http://svn.opensuse.org/viewcvs/yast?rev=62343&view=rev Log: - show fibre channel data only for fibre channel disks Modified: trunk/storage/storage/src/include/ep-hd.ycp Modified: trunk/storage/storage/src/include/ep-hd.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-hd... ============================================================================== --- trunk/storage/storage/src/include/ep-hd.ycp (original) +++ trunk/storage/storage/src/include/ep-hd.ycp Wed Aug 4 18:52:20 2010 @@ -209,11 +209,13 @@ fields = (list<symbol>) merge(fields, [ `heading_md, `raid_type, `chunk_size, `parity_algorithm ]); } - if (contains([ `CT_DISK ], ctype)) + if (contains([ `CT_DISK ], ctype) && target_map[device, "transport"]:`unknown == `fc) { fields = (list<symbol>) merge(fields, [`heading_fc, `fc_wwpn, `fc_port_id, `fc_fcp_lun ]); } + fields = StorageSettings::FilterOverview(fields); + term buttons = `HBox(); if ((integer) SCR::Read(.target.size, "/usr/sbin/smartctl") > 0) @@ -227,7 +229,7 @@ UI::ReplaceWidget(`tab_panel, `VBox( `HStretch(), - StorageFields::Overview(StorageSettings::FilterOverview(fields), target_map, device), + StorageFields::Overview(fields, target_map, device), add(buttons, `HStretch()) ) ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn.opensuse.org