Mailinglist Archive: yast-commit (545 mails)

< Previous Next >
[yast-commit] r60407 - /trunk/storage/storage/src/include/ep-lib.ycp
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Fri, 15 Jan 2010 17:51:28 -0000
  • Message-id: <E1NVqKW-0000NH-7c@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Fri Jan 15 18:51:27 2010
New Revision: 60407

URL: http://svn.opensuse.org/viewcvs/yast?rev=60407&view=rev
Log:
- show name instead of device in bargraph of disks/vgs

Modified:
trunk/storage/storage/src/include/ep-lib.ycp

Modified: trunk/storage/storage/src/include/ep-lib.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-lib.ycp?rev=60407&r1=60406&r2=60407&view=diff
==============================================================================
--- trunk/storage/storage/src/include/ep-lib.ycp (original)
+++ trunk/storage/storage/src/include/ep-lib.ycp Fri Jan 15 18:51:27 2010
@@ -387,7 +387,7 @@

float tmp = (float) Region::Length(region) / (float)
disk["cyl_count"]:1;
y2debug("i:%1 this cyl:%2 end cyl:%3 next cyl:%4",
i, ccyl, Region::End(region), next_cyl);
- AddSegment(tmp, part["device"]:"", part["size_k"]:0);
+ AddSegment(tmp, part["name"]:"", part["size_k"]:0);

// Now there is some xtra space between the end of this
partition and the start of the next one
// or the end of the disk if
@@ -417,7 +417,7 @@
foreach(map partition, partitions, {
integer size_k = partition["size_k"]:0;
disk_free_k = disk_free_k - size_k;
- AddSegment((float) size_k / (float) disk_size_k,
partition["device"]:"", size_k);
+ AddSegment((float) size_k / (float) disk_size_k,
partition["name"]:"", size_k);
});

if (disk_free_k > 0)

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages