Mailinglist Archive: yast-commit (953 mails)

< Previous Next >
[yast-commit] r49578 - in /trunk/repair: VERSION package/yast2-repair.changes src/OSRPtbl.ycp
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Fri, 01 Aug 2008 13:20:37 -0000
  • Message-id: <20080801132037.35749272EA@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Fri Aug 1 15:20:36 2008
New Revision: 49578

URL: http://svn.opensuse.org/viewcvs/yast?rev=49578&view=rev
Log:
- use String::FormatSize

Modified:
trunk/repair/VERSION
trunk/repair/package/yast2-repair.changes
trunk/repair/src/OSRPtbl.ycp

Modified: trunk/repair/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/repair/VERSION?rev=49578&r1=49577&r2=49578&view=diff
==============================================================================
--- trunk/repair/VERSION (original)
+++ trunk/repair/VERSION Fri Aug 1 15:20:36 2008
@@ -1 +1 @@
-2.17.0
+2.17.1

Modified: trunk/repair/package/yast2-repair.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/repair/package/yast2-repair.changes?rev=49578&r1=49577&r2=49578&view=diff
==============================================================================
--- trunk/repair/package/yast2-repair.changes (original)
+++ trunk/repair/package/yast2-repair.changes Fri Aug 1 15:20:36 2008
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Fri Aug 01 15:19:50 CEST 2008 - aschnell@xxxxxxx
+
+- use String::FormatSize
+- 2.17.1
+
+-------------------------------------------------------------------
Mon Jun 9 11:49:03 CEST 2008 - jsuchome@xxxxxxx

- use ReplaceWidget instead of changing button label (bnc#393832)

Modified: trunk/repair/src/OSRPtbl.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/repair/src/OSRPtbl.ycp?rev=49578&r1=49577&r2=49578&view=diff
==============================================================================
--- trunk/repair/src/OSRPtbl.ycp (original)
+++ trunk/repair/src/OSRPtbl.ycp Fri Aug 1 15:20:36 2008
@@ -25,11 +25,10 @@
import "StorageDevices";
import "Mode";
import "Report";
-
+ import "String";
import "Label";
import "Popup";

- include "partitioning/partition_defines.ycp";

textdomain "repair";

@@ -338,7 +337,7 @@
n["fsid"]:131,
sformat ("%1", n["region",0]:0),
sformat ("%1", n["region",1]:0 + n["region",0]:0 - 1),
- ByteToHumanString (n["size_k"]:0 * 1024)
+ String::FormatSize (n["size_k"]:0 * 1024)
));
}
});
@@ -834,7 +833,7 @@
// partition info 2/3, %1 is partition ID (number)
sformat(_("ID %1, "), part["fsid"]:131) +
// partition info 3/3, %1 is partition size (number)
- sformat (_("Size %1"), ByteToHumanString (
+ sformat (_("Size %1"), String::FormatSize (
part["region",1]:0 * maindev["cyl_size"]: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