[yast-commit] r49179 - /branches/tmp/aschnell/part-redesign/storage/src/include/ep-settings.ycp
Author: kmachalkova Date: Wed Jul 16 15:46:08 2008 New Revision: 49179 URL: http://svn.opensuse.org/viewcvs/yast?rev=49179&view=rev Log: Write settings (does not write real data so far) Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-settings.ycp Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-settings.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/include/ep-settings.ycp?rev=49179&r1=49178&r2=49179&view=diff ============================================================================== --- branches/tmp/aschnell/part-redesign/storage/src/include/ep-settings.ycp (original) +++ branches/tmp/aschnell/part-redesign/storage/src/include/ep-settings.ycp Wed Jul 16 15:46:08 2008 @@ -84,8 +84,17 @@ void DestroySettingsPanel(any user_data) { + list <symbol> InvertVisibleFields () { + list <symbol> selected = (list <symbol>) UI::QueryWidget(`id(`visible_fields), `SelectedItems ); + + list <symbol> ret = filter ( symbol s, (list <symbol> ) Map::Keys(visible_fields), { + return (!contains(selected, s)); + }); + + } Storage::SetDefaultMountBy((symbol) UI::QueryWidget(`id(`default_mountby), `Value)); Partitions::SetDefaultFs((symbol) UI::QueryWidget(`id(`default_fs), `Value)); + StorageSettings::SetHiddenFields( InvertVisibleFields() ); } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
kmachalkova@svn.opensuse.org