diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-07 04:35:27 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-08 01:50:02 -0800 |
commit | 34841cd7efb9b3189adc3d6333960b41cc3d5475 (patch) | |
tree | 92849cade1058563fd3c7ab986b34481e40bf405 | |
parent | df27070399c61922ec227823602f0d7f06043726 (diff) |
Remove spaces from png filenames.
-rw-r--r-- | MobileCydia.app/Sections/Carrier_Bundles.png (renamed from MobileCydia.app/Sections/Carrier Bundles.png) | bin | 7695 -> 7695 bytes | |||
-rw-r--r-- | MobileCydia.app/Sections/Data_Storage.png (renamed from MobileCydia.app/Sections/Data Storage.png) | bin | 7852 -> 7852 bytes | |||
-rw-r--r-- | MobileCydia.app/Sections/Health_and_Fitness.png (renamed from MobileCydia.app/Sections/Health and Fitness.png) | bin | 5319 -> 5319 bytes | |||
-rw-r--r-- | MobileCydia.app/Sections/Site-Specific_Apps.png (renamed from MobileCydia.app/Sections/Site-Specific Apps.png) | bin | 8042 -> 8042 bytes | |||
-rw-r--r-- | MobileCydia.app/Sections/Terminal_Support.png (renamed from MobileCydia.app/Sections/Terminal Support.png) | bin | 3950 -> 3950 bytes | |||
-rw-r--r-- | MobileCydia.app/Sections/Text_Editors.png (renamed from MobileCydia.app/Sections/Text Editors.png) | bin | 4405 -> 4405 bytes | |||
-rw-r--r-- | MobileCydia.app/Sections/X_Window.png (renamed from MobileCydia.app/Sections/X Window.png) | bin | 4788 -> 4788 bytes | |||
-rw-r--r-- | MobileCydia.mm | 2 |
8 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.app/Sections/Carrier Bundles.png b/MobileCydia.app/Sections/Carrier_Bundles.png Binary files differindex 00f36f7..00f36f7 100644 --- a/MobileCydia.app/Sections/Carrier Bundles.png +++ b/MobileCydia.app/Sections/Carrier_Bundles.png diff --git a/MobileCydia.app/Sections/Data Storage.png b/MobileCydia.app/Sections/Data_Storage.png Binary files differindex 1bb23fe..1bb23fe 100644 --- a/MobileCydia.app/Sections/Data Storage.png +++ b/MobileCydia.app/Sections/Data_Storage.png diff --git a/MobileCydia.app/Sections/Health and Fitness.png b/MobileCydia.app/Sections/Health_and_Fitness.png Binary files differindex e2db013..e2db013 100644 --- a/MobileCydia.app/Sections/Health and Fitness.png +++ b/MobileCydia.app/Sections/Health_and_Fitness.png diff --git a/MobileCydia.app/Sections/Site-Specific Apps.png b/MobileCydia.app/Sections/Site-Specific_Apps.png Binary files differindex 6732d7b..6732d7b 100644 --- a/MobileCydia.app/Sections/Site-Specific Apps.png +++ b/MobileCydia.app/Sections/Site-Specific_Apps.png diff --git a/MobileCydia.app/Sections/Terminal Support.png b/MobileCydia.app/Sections/Terminal_Support.png Binary files differindex d664618..d664618 100644 --- a/MobileCydia.app/Sections/Terminal Support.png +++ b/MobileCydia.app/Sections/Terminal_Support.png diff --git a/MobileCydia.app/Sections/Text Editors.png b/MobileCydia.app/Sections/Text_Editors.png Binary files differindex 5e65d46..5e65d46 100644 --- a/MobileCydia.app/Sections/Text Editors.png +++ b/MobileCydia.app/Sections/Text_Editors.png diff --git a/MobileCydia.app/Sections/X Window.png b/MobileCydia.app/Sections/X_Window.png Binary files differindex eac01e9..eac01e9 100644 --- a/MobileCydia.app/Sections/X Window.png +++ b/MobileCydia.app/Sections/X_Window.png 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]; |