summaryrefslogtreecommitdiff
path: root/UICaboodle
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-28 18:08:31 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:30 -0800
commitc31c825dcaf3e45d8854d53fde12ab177a3e87f5 (patch)
treec462f6831125cbce6acac306eb55f4e3b00cbd9f /UICaboodle
parent948db68010420426891800511bbb8cf01f812449 (diff)
Add cydia.setBadgeValue() for tab badges.
Diffstat (limited to 'UICaboodle')
-rw-r--r--UICaboodle/BrowserView.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm
index 7a35642..4168de9 100644
--- a/UICaboodle/BrowserView.mm
+++ b/UICaboodle/BrowserView.mm
@@ -1195,6 +1195,10 @@ static void $UIWebViewWebViewDelegate$webViewClose$(UIWebViewWebViewDelegate *se
[[[self navigationController] navigationBar] setTintColor:color];
}
+- (void) setBadgeValue:(id)value {
+ [[[self navigationController] tabBarItem] setBadgeValue:value];
+}
+
- (void) setHidesBackButton:(bool)value {
[[self navigationItem] setHidesBackButton:value];
}