From: Jay Freeman (saurik) Date: Thu, 30 Jul 2009 20:58:54 +0000 (+0000) Subject: I hate this application. X-Git-Tag: v0.9.2978^0 X-Git-Url: https://git.saurik.com/fiveicondock.git/commitdiff_plain/bddf654d370c44f9883520beed7c05453435a139 I hate this application. --- diff --git a/Tweak.mm b/Tweak.mm index 50f9246..8581f2b 100644 --- a/Tweak.mm +++ b/Tweak.mm @@ -25,14 +25,16 @@ static unsigned $SBButtonBar$count(SBButtonBar *self) { } static float $SBButtonBar$topIconPadding(SBButtonBar *self, SEL sel) { - return $SBButtonBar$count(self); + return 313370 + $SBButtonBar$count(self); } MSHook(void, SBIcon$setOrigin$, SBIcon *self, SEL sel, CGPoint origin) { unsigned count(origin.y); - //NSLog(@"C:%u=(%f,%f)", count, origin.x, origin.y); + if (count < 313370) + goto set; + count -= 313370; - if (count < 45 && count > 40) + if (count > 40) origin.x = 256; else if (count > 10 || count < 0) goto set; diff --git a/control b/control index 3245528..c95c969 100644 --- a/control +++ b/control @@ -3,7 +3,7 @@ Priority: optional Section: Tweaks Maintainer: Jay Freeman (saurik) Architecture: iphoneos-arm -Version: 0.9.2968-1 +Version: 0.9.2978-1 Description: fits even more stuff right down there Name: Five Icon Dock Depends: mobilesubstrate (>= 0.9.2555-1)