[yast-commit] r48543 - /branches/tmp/aschnell/part-redesign/storage/src/modules/StorageFields.ycp
Author: aschnell Date: Thu Jun 26 10:56:18 2008 New Revision: 48543 URL: http://svn.opensuse.org/viewcvs/yast?rev=48543&view=rev Log: - added fs_id field Modified: branches/tmp/aschnell/part-redesign/storage/src/modules/StorageFields.ycp Modified: branches/tmp/aschnell/part-redesign/storage/src/modules/StorageFields.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/modules/StorageFields.ycp?rev=48543&r1=48542&r2=48543&view=diff ============================================================================== --- branches/tmp/aschnell/part-redesign/storage/src/modules/StorageFields.ycp (original) +++ branches/tmp/aschnell/part-redesign/storage/src/modules/StorageFields.ycp Thu Jun 26 10:56:18 2008 @@ -120,6 +120,11 @@ header = add(header, `Right(_("End"))); break; + case `fs_id: + // Column header + header = add(header, `Right(_("FS Id"))); + break; + case `uuid: // Column header header = add(header, _("UUID")); @@ -553,6 +558,17 @@ return sformat(_("End Cylinder: %1"), value); } + case `fs_id: + { + integer fs_id = data["fsid"]:0; + string value = Partitions::ToHexString(fs_id) + " " + Partitions::FsIdToString(fs_id); + if (style == `table) + return value; + else + return sformat(_("FS Id: %1"), value); + } + break; + case `file_path: { string value = data["fpath"]:""; -- 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