summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-07 04:35:27 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-08 01:50:02 -0800
commit34841cd7efb9b3189adc3d6333960b41cc3d5475 (patch)
tree92849cade1058563fd3c7ab986b34481e40bf405
parentdf27070399c61922ec227823602f0d7f06043726 (diff)
Remove spaces from png filenames.
-rw-r--r--MobileCydia.app/Sections/Carrier_Bundles.png (renamed from MobileCydia.app/Sections/Carrier Bundles.png)bin7695 -> 7695 bytes
-rw-r--r--MobileCydia.app/Sections/Data_Storage.png (renamed from MobileCydia.app/Sections/Data Storage.png)bin7852 -> 7852 bytes
-rw-r--r--MobileCydia.app/Sections/Health_and_Fitness.png (renamed from MobileCydia.app/Sections/Health and Fitness.png)bin5319 -> 5319 bytes
-rw-r--r--MobileCydia.app/Sections/Site-Specific_Apps.png (renamed from MobileCydia.app/Sections/Site-Specific Apps.png)bin8042 -> 8042 bytes
-rw-r--r--MobileCydia.app/Sections/Terminal_Support.png (renamed from MobileCydia.app/Sections/Terminal Support.png)bin3950 -> 3950 bytes
-rw-r--r--MobileCydia.app/Sections/Text_Editors.png (renamed from MobileCydia.app/Sections/Text Editors.png)bin4405 -> 4405 bytes
-rw-r--r--MobileCydia.app/Sections/X_Window.png (renamed from MobileCydia.app/Sections/X Window.png)bin4788 -> 4788 bytes
-rw-r--r--MobileCydia.mm2
8 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.app/Sections/Carrier Bundles.png b/MobileCydia.app/Sections/Carrier_Bundles.png
index 00f36f7..00f36f7 100644
--- a/MobileCydia.app/Sections/Carrier Bundles.png
+++ b/MobileCydia.app/Sections/Carrier_Bundles.png
Binary files differ
diff --git a/MobileCydia.app/Sections/Data Storage.png b/MobileCydia.app/Sections/Data_Storage.png
index 1bb23fe..1bb23fe 100644
--- a/MobileCydia.app/Sections/Data Storage.png
+++ b/MobileCydia.app/Sections/Data_Storage.png
Binary files differ
diff --git a/MobileCydia.app/Sections/Health and Fitness.png b/MobileCydia.app/Sections/Health_and_Fitness.png
index e2db013..e2db013 100644
--- a/MobileCydia.app/Sections/Health and Fitness.png
+++ b/MobileCydia.app/Sections/Health_and_Fitness.png
Binary files differ
diff --git a/MobileCydia.app/Sections/Site-Specific Apps.png b/MobileCydia.app/Sections/Site-Specific_Apps.png
index 6732d7b..6732d7b 100644
--- a/MobileCydia.app/Sections/Site-Specific Apps.png
+++ b/MobileCydia.app/Sections/Site-Specific_Apps.png
Binary files differ
diff --git a/MobileCydia.app/Sections/Terminal Support.png b/MobileCydia.app/Sections/Terminal_Support.png
index d664618..d664618 100644
--- a/MobileCydia.app/Sections/Terminal Support.png
+++ b/MobileCydia.app/Sections/Terminal_Support.png
Binary files differ
diff --git a/MobileCydia.app/Sections/Text Editors.png b/MobileCydia.app/Sections/Text_Editors.png
index 5e65d46..5e65d46 100644
--- a/MobileCydia.app/Sections/Text Editors.png
+++ b/MobileCydia.app/Sections/Text_Editors.png
Binary files differ
diff --git a/MobileCydia.app/Sections/X Window.png b/MobileCydia.app/Sections/X_Window.png
index eac01e9..eac01e9 100644
--- a/MobileCydia.app/Sections/X Window.png
+++ b/MobileCydia.app/Sections/X_Window.png
Binary files differ
diff --git a/MobileCydia.mm b/MobileCydia.mm
index c072c26..ef5bc70 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -6843,7 +6843,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
goto fail;
path = [path stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
NSString *section(Simplify(path));
- UIImage *icon([UIImage imageAtPath:[NSString stringWithFormat:@"%@/Sections/%@.png", App_, section]]);
+ UIImage *icon([UIImage imageAtPath:[NSString stringWithFormat:@"%@/Sections/%@.png", App_, [section stringByReplacingOccurrencesOfString:@" " withString:@"_"]]]);
if (icon == nil)
icon = [UIImage applicationImageNamed:@"unknown.png"];
[self _returnPNGWithImage:icon forRequest:request];