]> git.saurik.com Git - cydia.git/commitdiff
Remove Disk Using/Freeing.
authorJay Freeman (saurik) <saurik@saurk.com>
Wed, 15 Sep 2010 09:09:47 +0000 (09:09 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 30 Sep 2010 08:21:41 +0000 (08:21 +0000)
Cydia.app/confirm.html
Cydia.app/confirm.js
Cydia.mm

index 335a3267535d805201bc01176438cced23ae5e4b..f5c2c90b0066b38d76b0c59ab4216b1b9970baef 100644 (file)
         <label localize="RESUMING_AT"></label>
         <label id="resuming"></label>
     </div></div>
-
-    <div><div>
-        <label id="disk-key"></label>
-        <label id="disk-value"></label>
-    </div></div>
 </fieldset>
 
 <label localize="MODIFICATIONS"></label>
index ba2e2e5d9a2807eb73923f5f39e6e59352a4f8a4..5ef99bf4e70298c1b21b73e5294f73d442431c7d 100644 (file)
@@ -13,19 +13,6 @@ $(function () {
             $(".resuming").remove();
         else
         $("#resuming").html($.xml(resuming));
-
-        var size = sizes[2];
-        var negative;
-
-        if (size.charAt(0) != '-')
-            negative = false;
-        else {
-            negative = true;
-            size = size.substr(1);
-        }
-
-        $("#disk-key").html(cydia.localize(negative ? "DISK_FREEING" : "DISK_USING"));
-        $("#disk-value").html($.xml(size));
     } else for (var i = 0; i != issues.length; ++i) {
         document.title = cydia.localize("CANNOT_COMPLY");
 
index 06c82184512e675f9e4f4299f528a117800311f6..836d8400358c8edbc55355ea76eaac8bc323ec28 100644 (file)
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -4138,7 +4138,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
         sizes_ = [[NSArray alloc] initWithObjects:
             SizeString([database_ fetcher].FetchNeeded()),
             SizeString([database_ fetcher].PartialPresent()),
-            SizeString([database_ cache]->UsrSize()),
         nil];
 
         [self loadURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"confirm" ofType:@"html"]]];