diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-23 18:13:36 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-07 02:41:12 -0800 |
commit | b8a5d89d89d8662536b2f651fae0598f21ea17bd (patch) | |
tree | 81a39779fc54b30381a54fa70aa174f5ecbfc092 /MobileCydia.mm | |
parent | 59befad5fa491ab8e084f7d1e81a2a7430f0f179 (diff) |
Added cydia.setHidesBackButton().
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 4430dc7..d99a0e8 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -4114,6 +4114,8 @@ static NSString *Warning_; return @"setButtonImage"; else if (selector == @selector(setButtonTitle:withStyle:toFunction:)) return @"setButtonTitle"; + else if (selector == @selector(setHidesBackButton:)) + return @"setHidesBackButton"; else if (selector == @selector(setPopupHook:)) return @"setPopupHook"; else if (selector == @selector(setToken:)) @@ -4278,6 +4280,10 @@ static NSString *Warning_; [indirect_ setButtonTitle:button withStyle:style toFunction:function]; } +- (void) setHidesBackButton:(NSString *)value { + [indirect_ performSelectorOnMainThread:@selector(setHidesBackButtonByNumber:) withObject:value waitUntilDone:NO]; +} + - (void) _setToken:(NSString *)token { Token_ = token; |