summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 3b09f6a..51843a7 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -3999,6 +3999,8 @@ static NSString *Warning_;
return @"localize";
else if (selector == @selector(refreshSources))
return @"refreshSources";
+ else if (selector == @selector(removeButton))
+ return @"removeButton";
else if (selector == @selector(setButtonImage:withStyle:toFunction:))
return @"setButtonImage";
else if (selector == @selector(setButtonTitle:withStyle:toFunction:))
@@ -4153,6 +4155,10 @@ static NSString *Warning_;
[delegate_ performSelectorOnMainThread:@selector(installPackages:) withObject:packages waitUntilDone:NO];
}
+- (void) removeButton {
+ [indirect_ removeButton];
+}
+
- (void) setButtonImage:(NSString *)button withStyle:(NSString *)style toFunction:(id)function {
[indirect_ setButtonImage:button withStyle:style toFunction:function];
}