summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-09-15 09:09:47 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 08:21:41 +0000
commitdf86a2c8189742f00ba09e75b77b6f0cc7eb1824 (patch)
tree69fb19a5e0f5690bed775219b3b6f682929770c0
parentb46737032fdf79efd25b8bb022af6e9f1181ff61 (diff)
Remove Disk Using/Freeing.
-rw-r--r--Cydia.app/confirm.html5
-rw-r--r--Cydia.app/confirm.js13
-rw-r--r--Cydia.mm1
3 files changed, 0 insertions, 19 deletions
diff --git a/Cydia.app/confirm.html b/Cydia.app/confirm.html
index 335a326..f5c2c90 100644
--- a/Cydia.app/confirm.html
+++ b/Cydia.app/confirm.html
@@ -26,11 +26,6 @@
<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>
diff --git a/Cydia.app/confirm.js b/Cydia.app/confirm.js
index ba2e2e5..5ef99bf 100644
--- a/Cydia.app/confirm.js
+++ b/Cydia.app/confirm.js
@@ -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");
diff --git a/Cydia.mm b/Cydia.mm
index 06c8218..836d840 100644
--- 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"]]];