]> git.saurik.com Git - winterboard.git/commitdiff
Remove SummerBoard mode (it is totally horrible).
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 26 Nov 2014 09:42:08 +0000 (01:42 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 26 Nov 2014 09:42:08 +0000 (01:42 -0800)
Library.mm
WinterBoardSettings.bundle/WinterBoard.plist

index cc20f1d99d2f7e616fd1a2f40653dde35981743c..bc8084b84066d80b43751f05097d36b7a44aa3d5 100644 (file)
@@ -2463,7 +2463,9 @@ MSInitialize {
 
     // Load Settings.plist {{{
     if (NSDictionary *settings = [NSDictionary dictionaryWithContentsOfFile:[NSString stringWithFormat:@"/User/Library/Preferences/com.saurik.WinterBoard.plist"]]) {
 
     // Load Settings.plist {{{
     if (NSDictionary *settings = [NSDictionary dictionaryWithContentsOfFile:[NSString stringWithFormat:@"/User/Library/Preferences/com.saurik.WinterBoard.plist"]]) {
-        if (NSNumber *value = [settings objectForKey:@"SummerBoard"])
+        if (kCFCoreFoundationVersionNumber >= 1000)
+            SummerBoard_ = false;
+        else if (NSNumber *value = [settings objectForKey:@"SummerBoard"])
             SummerBoard_ = [value boolValue];
         else
             SummerBoard_ = true;
             SummerBoard_ = [value boolValue];
         else
             SummerBoard_ = true;
index 87573de3acae7be54c3abeaf6d71a2c5c930116d..facfcd285f9b2db2c37d77a55f30f04d03b369b3 100644 (file)
                        <string>PSGroupCell</string>
                        <key>footerText</key>
                        <string>Many themes are ancient/slow, designed for SummerBoard, not WinterBoard.</string>
                        <string>PSGroupCell</string>
                        <key>footerText</key>
                        <string>Many themes are ancient/slow, designed for SummerBoard, not WinterBoard.</string>
+                       <key>wb$filter</key>
+                       <array>
+                               <real>0.0</real>
+                               <real>1000</real>
+                       </array>
                </dict>
                <dict>
                        <key>cell</key>
                </dict>
                <dict>
                        <key>cell</key>
                        <string>SummerBoard</string>
                        <key>label</key>
                        <string>SummerBoard Mode</string>
                        <string>SummerBoard</string>
                        <key>label</key>
                        <string>SummerBoard Mode</string>
+                       <key>wb$filter</key>
+                       <array>
+                               <real>0.0</real>
+                               <real>1000</real>
+                       </array>
                </dict>
                <dict>
                        <key>cell</key>
                </dict>
                <dict>
                        <key>cell</key>
                                        <false/>
                                </dict>
                        </array>
                                        <false/>
                                </dict>
                        </array>
+                       <key>wb$filter</key>
+                       <array>
+                               <real>0.0</real>
+                               <real>1000</real>
+                       </array>
                </dict>
                <dict>
                        <key>cell</key>
                </dict>
                <dict>
                        <key>cell</key>
                                        <false/>
                                </dict>
                        </array>
                                        <false/>
                                </dict>
                        </array>
+                       <key>wb$filter</key>
+                       <array>
+                               <real>0.0</real>
+                               <real>1000</real>
+                       </array>
                </dict>
                <dict>
                        <key>cell</key>
                </dict>
                <dict>
                        <key>cell</key>