Permalink
Browse files

Fix cases where navigation bar becomes too small when it contains a p…

…rompt
  • Loading branch information...
rpetrich committed Jan 5, 2012
1 parent e9d1d93 commit 32d0a0fbd5a61e3255a8da13d05c689eff137fd5
Showing with 7 additions and 3 deletions.
  1. +1 −1 Makefile
  2. +5 −1 Tweak.xm → Tweak.x
  3. +1 −1 framework
View
@@ -1,5 +1,5 @@
TWEAK_NAME = DietBar
-DietBar_FILES = Tweak.xm
+DietBar_FILES = Tweak.x
include framework/makefiles/common.mk
include framework/makefiles/tweak.mk
View
@@ -1,9 +1,13 @@
-#import <UIKit/UIKit.h>
+#import <UIKit/UIKit2.h>
+
+%config(generator=internal);
%hook UINavigationBar
- (CGSize)defaultSizeForOrientation:(UIInterfaceOrientation)orientation
{
+ if ([self promptView])
+ return %orig;
CGSize size;
size.width = %orig.width;
size.height = 32.0f;
Submodule framework updated 77 files
+0 −4 Prefix.pch
+1 −1 bin/bootstrap.sh
+1 −1 bin/denicify.pl
+0 −202 bin/lib/Logos/BaseMethod.pm
+23 −12 bin/lib/Logos/Class.pm
+36 −0 bin/lib/Logos/Generator.pm
+52 −0 bin/lib/Logos/Generator/Base/Class.pm
+31 −0 bin/lib/Logos/Generator/Base/Generator.pm
+25 −0 bin/lib/Logos/Generator/Base/Group.pm
+56 −0 bin/lib/Logos/Generator/Base/Method.pm
+37 −0 bin/lib/Logos/Generator/Base/StaticClassGroup.pm
+12 −0 bin/lib/Logos/Generator/Base/Subclass.pm
+0 −22 bin/lib/Logos/Generator/MobileSubstrate/Base.pm
+25 −7 bin/lib/Logos/Generator/MobileSubstrate/Class.pm
+16 −0 bin/lib/Logos/Generator/MobileSubstrate/Generator.pm
+79 −43 bin/lib/Logos/Generator/MobileSubstrate/Method.pm
+0 −37 bin/lib/Logos/Generator/MobileSubstrate/StaticClassGroup.pm
+26 −11 bin/lib/Logos/Generator/MobileSubstrate/Subclass.pm
+31 −0 bin/lib/Logos/Generator/Thunk.pm
+59 −0 bin/lib/Logos/Generator/internal/Class.pm
+17 −0 bin/lib/Logos/Generator/internal/Generator.pm
+142 −0 bin/lib/Logos/Generator/internal/Method.pm
+39 −0 bin/lib/Logos/Generator/internal/Subclass.pm
+12 −14 bin/lib/Logos/Group.pm
+1 −6 bin/lib/Logos/Ivar.pm
+244 −0 bin/lib/Logos/Method.pm
+52 −0 bin/lib/Logos/Patch.pm
+14 −9 bin/lib/Logos/StaticClassGroup.pm
+14 −18 bin/lib/Logos/Subclass.pm
+109 −0 bin/lib/Logos/Util.pm
+9 −8 bin/lib/NIC/Formats/NIC1.pm
+325 −0 bin/lib/aliased.pm
+136 −0 bin/lib/parent.pm
+43 −3 bin/logify.pl
+486 −485 bin/logos.pl
+1 −1 bin/nic.pl
+38 −7 bin/package_version.sh
+58 −7 extras/vim/syntax/logos.vim
+1 −1 include
+25 −7 makefiles/common.mk
+2 −0 makefiles/instance/application.mk
+2 −0 makefiles/instance/bundle.mk
+3 −1 makefiles/instance/framework.mk
+2 −0 makefiles/instance/library.mk
+2 −0 makefiles/instance/null.mk
+4 −2 makefiles/instance/rules.mk
+1 −1 makefiles/instance/shared/bundle.mk
+3 −1 makefiles/instance/subproject.mk
+2 −0 makefiles/instance/tool.mk
+2 −2 makefiles/instance/tweak.mk
+2 −2 makefiles/legacy.mk
+2 −0 makefiles/master/aggregate.mk
+2 −0 makefiles/master/application.mk
+2 −0 makefiles/master/bundle.mk
+2 −0 makefiles/master/framework.mk
+2 −0 makefiles/master/library.mk
+2 −0 makefiles/master/null.mk
+27 −24 makefiles/master/rules.mk
+2 −0 makefiles/master/subproject.mk
+2 −0 makefiles/master/tool.mk
+2 −0 makefiles/master/tweak.mk
+2 −0 makefiles/messages.mk
+27 −30 makefiles/package.mk
+2 −0 makefiles/platform/Darwin.mk
+6 −3 makefiles/rules.mk
+29 −0 makefiles/stage.mk
+1 −0 makefiles/targets/Darwin-arm/iphone.mk
+27 −12 makefiles/targets/Darwin/iphone.mk
+13 −7 makefiles/targets/Darwin/macosx.mk
+29 −13 makefiles/targets/Darwin/simulator.mk
+3 −0 makefiles/targets/Linux/iphone.mk
+1 −0 makefiles/targets/Linux/linux.mk
+1 −1 makefiles/targets/_common/darwin.mk
+11 −1 makefiles/targets/_common/install_deb_local.mk
+11 −1 makefiles/targets/_common/install_deb_remote.mk
+1 −1 templates/iphone/application.nic
+1 −1 templates/iphone/tweak.nic

0 comments on commit 32d0a0f

Please sign in to comment.