From e1bbeca735b42d6e9611686fb200e6ddc1955fb0 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 26 Nov 2014 01:42:08 -0800 Subject: [PATCH] Remove SummerBoard mode (it is totally horrible). --- Library.mm | 4 +++- WinterBoardSettings.bundle/WinterBoard.plist | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/Library.mm b/Library.mm index cc20f1d..bc8084b 100644 --- a/Library.mm +++ b/Library.mm @@ -2463,7 +2463,9 @@ MSInitialize { // 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; diff --git a/WinterBoardSettings.bundle/WinterBoard.plist b/WinterBoardSettings.bundle/WinterBoard.plist index 87573de..facfcd2 100644 --- a/WinterBoardSettings.bundle/WinterBoard.plist +++ b/WinterBoardSettings.bundle/WinterBoard.plist @@ -55,6 +55,11 @@ PSGroupCell footerText Many themes are ancient/slow, designed for SummerBoard, not WinterBoard. + wb$filter + + 0.0 + 1000 + cell @@ -65,6 +70,11 @@ SummerBoard label SummerBoard Mode + wb$filter + + 0.0 + 1000 + cell @@ -80,6 +90,11 @@ + wb$filter + + 0.0 + 1000 + cell @@ -95,6 +110,11 @@ + wb$filter + + 0.0 + 1000 + cell -- 2.45.2