]> git.saurik.com Git - cydia.git/commitdiff
Remove spaces from png filenames.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 Mar 2011 12:35:27 +0000 (04:35 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 8 Mar 2011 09:50:02 +0000 (01:50 -0800)
15 files changed:
MobileCydia.app/Sections/Carrier Bundles.png [deleted file]
MobileCydia.app/Sections/Carrier_Bundles.png [new file with mode: 0644]
MobileCydia.app/Sections/Data Storage.png [deleted file]
MobileCydia.app/Sections/Data_Storage.png [new file with mode: 0644]
MobileCydia.app/Sections/Health and Fitness.png [deleted file]
MobileCydia.app/Sections/Health_and_Fitness.png [new file with mode: 0644]
MobileCydia.app/Sections/Site-Specific Apps.png [deleted file]
MobileCydia.app/Sections/Site-Specific_Apps.png [new file with mode: 0644]
MobileCydia.app/Sections/Terminal Support.png [deleted file]
MobileCydia.app/Sections/Terminal_Support.png [new file with mode: 0644]
MobileCydia.app/Sections/Text Editors.png [deleted file]
MobileCydia.app/Sections/Text_Editors.png [new file with mode: 0644]
MobileCydia.app/Sections/X Window.png [deleted file]
MobileCydia.app/Sections/X_Window.png [new file with mode: 0644]
MobileCydia.mm

diff --git a/MobileCydia.app/Sections/Carrier Bundles.png b/MobileCydia.app/Sections/Carrier Bundles.png
deleted file mode 100644 (file)
index 00f36f7..0000000
Binary files a/MobileCydia.app/Sections/Carrier Bundles.png and /dev/null differ
diff --git a/MobileCydia.app/Sections/Carrier_Bundles.png b/MobileCydia.app/Sections/Carrier_Bundles.png
new file mode 100644 (file)
index 0000000..00f36f7
Binary files /dev/null and b/MobileCydia.app/Sections/Carrier_Bundles.png differ
diff --git a/MobileCydia.app/Sections/Data Storage.png b/MobileCydia.app/Sections/Data Storage.png
deleted file mode 100644 (file)
index 1bb23fe..0000000
Binary files a/MobileCydia.app/Sections/Data Storage.png and /dev/null differ
diff --git a/MobileCydia.app/Sections/Data_Storage.png b/MobileCydia.app/Sections/Data_Storage.png
new file mode 100644 (file)
index 0000000..1bb23fe
Binary files /dev/null and b/MobileCydia.app/Sections/Data_Storage.png differ
diff --git a/MobileCydia.app/Sections/Health and Fitness.png b/MobileCydia.app/Sections/Health and Fitness.png
deleted file mode 100644 (file)
index e2db013..0000000
Binary files a/MobileCydia.app/Sections/Health and Fitness.png and /dev/null differ
diff --git a/MobileCydia.app/Sections/Health_and_Fitness.png b/MobileCydia.app/Sections/Health_and_Fitness.png
new file mode 100644 (file)
index 0000000..e2db013
Binary files /dev/null and b/MobileCydia.app/Sections/Health_and_Fitness.png differ
diff --git a/MobileCydia.app/Sections/Site-Specific Apps.png b/MobileCydia.app/Sections/Site-Specific Apps.png
deleted file mode 100644 (file)
index 6732d7b..0000000
Binary files a/MobileCydia.app/Sections/Site-Specific Apps.png and /dev/null differ
diff --git a/MobileCydia.app/Sections/Site-Specific_Apps.png b/MobileCydia.app/Sections/Site-Specific_Apps.png
new file mode 100644 (file)
index 0000000..6732d7b
Binary files /dev/null and b/MobileCydia.app/Sections/Site-Specific_Apps.png differ
diff --git a/MobileCydia.app/Sections/Terminal Support.png b/MobileCydia.app/Sections/Terminal Support.png
deleted file mode 100644 (file)
index d664618..0000000
Binary files a/MobileCydia.app/Sections/Terminal Support.png and /dev/null differ
diff --git a/MobileCydia.app/Sections/Terminal_Support.png b/MobileCydia.app/Sections/Terminal_Support.png
new file mode 100644 (file)
index 0000000..d664618
Binary files /dev/null and b/MobileCydia.app/Sections/Terminal_Support.png differ
diff --git a/MobileCydia.app/Sections/Text Editors.png b/MobileCydia.app/Sections/Text Editors.png
deleted file mode 100644 (file)
index 5e65d46..0000000
Binary files a/MobileCydia.app/Sections/Text Editors.png and /dev/null differ
diff --git a/MobileCydia.app/Sections/Text_Editors.png b/MobileCydia.app/Sections/Text_Editors.png
new file mode 100644 (file)
index 0000000..5e65d46
Binary files /dev/null and b/MobileCydia.app/Sections/Text_Editors.png differ
diff --git a/MobileCydia.app/Sections/X Window.png b/MobileCydia.app/Sections/X Window.png
deleted file mode 100644 (file)
index eac01e9..0000000
Binary files a/MobileCydia.app/Sections/X Window.png and /dev/null differ
diff --git a/MobileCydia.app/Sections/X_Window.png b/MobileCydia.app/Sections/X_Window.png
new file mode 100644 (file)
index 0000000..eac01e9
Binary files /dev/null and b/MobileCydia.app/Sections/X_Window.png differ
index c072c267b83d5da3425a9dba1efe97d9ce606e25..ef5bc704566754dc4080b781effa73de91d2628b 100644 (file)
@@ -6843,7 +6843,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
             goto fail;
         path = [path stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
         NSString *section(Simplify(path));
             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];
         if (icon == nil)
             icon = [UIImage applicationImageNamed:@"unknown.png"];
         [self _returnPNGWithImage:icon forRequest:request];