if (changes != 0) {
NSString *badge([[NSNumber numberWithInt:changes] stringValue]);
- [toolbar_ setBadgeValue:badge forButton:3];
+ [[[toolbar_ items] objectAtIndex:2] setBadgeValue:badge];
if ([toolbar_ respondsToSelector:@selector(setBadgeAnimated:forButton:)])
- [toolbar_ setBadgeAnimated:([essential_ count] != 0) forButton:3];
+ [[[toolbar_ items] objectAtIndex:2] setAnimatedBadge:YES];
if ([self respondsToSelector:@selector(setApplicationBadge:)])
[self setApplicationBadge:badge];
else
[self setApplicationBadgeString:badge];
} else {
- [toolbar_ setBadgeValue:nil forButton:3];
+ [[[toolbar_ items] objectAtIndex:2] setBadgeValue:nil];
if ([toolbar_ respondsToSelector:@selector(setBadgeAnimated:forButton:)])
- [toolbar_ setBadgeAnimated:NO forButton:3];
+ [[[toolbar_ items] objectAtIndex:2] setAnimatedBadge:NO];
if ([self respondsToSelector:@selector(removeApplicationBadge)])
[self removeApplicationBadge];
else // XXX: maybe use setApplicationBadgeString also?
}
Queuing_ = false;
- [toolbar_ setBadgeValue:nil forButton:4];
+ [[[toolbar_ items] objectAtIndex:3] setBadgeValue:nil];
[self _updateData];
[self _reloadData];
else {
Queuing_ = true;
- [toolbar_ setBadgeValue:UCLocalize("Q_D") forButton:4];
+ [[[toolbar_ items] objectAtIndex:3] setBadgeValue:UCLocalize("Q_D")];
[book_ reloadData];
}
Section: Packaging
Maintainer: Jay Freeman (saurik) <saurik@saurik.com>
Architecture: iphoneos-arm
-Version: 1.0.3215-1
+Version: 1.0.3229-1
Replaces: com.sosiphone.addcydia
Depends: apr-lib, apt7-lib, apt7-key, darwintools, pcre, sed, shell-cmds, system-cmds, uikittools (>= 1.0.3198)
Pre-Depends: dpkg (>= 1.14.25-8)