]> git.saurik.com Git - fiveicondock.git/commitdiff
I hate this application. v0.9.2978
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 30 Jul 2009 20:58:54 +0000 (20:58 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 30 Jul 2009 20:58:54 +0000 (20:58 +0000)
Tweak.mm
control

index 50f9246b972d1de306e2268e9083a77a7a507821..8581f2bae9bfdf81e49e79ad4708f8e343703ad4 100644 (file)
--- 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 3245528d78dd6c48ce28d7df2e115ccc82d23a08..c95c96956c6b8cc649cc3d0148947bff50db6fc4 100644 (file)
--- a/control
+++ b/control
@@ -3,7 +3,7 @@ Priority: optional
 Section: Tweaks
 Maintainer: Jay Freeman (saurik) <saurik@saurik.com>
 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)