var type = entry[0];
if (type == "PreDepends")
type = "Depends";
- $("#i" + i).append("<div><div>" +
+ $("#i" + i).append("<div class=\"clearfix\"><div>" +
"<label>" + $.xml(type) + "</label>" +
- "<labe>" + $.xml(entry[1] + " " + entry[3]) + "</label>" +
+ "<label>" + $.xml(entry[1] + " " + entry[3]) + "</label>" +
"</div></div>");
}
}
#define lprintf(args...) fprintf(stderr, args)
-#define ForRelease 1
+#define ForRelease 0
#define ForSaurik (1 && !ForRelease)
#define ShowInternals (1 && !ForRelease)
#define IgnoreInstall (0 && !ForRelease)
return @"Cancel";
}
+- (id) rightButtonTitle {
+ return issues_ != nil ? nil : [super rightButtonTitle];
+}
+
- (id) _rightButtonTitle {
#if AlwaysReload || IgnoreInstall
- return @"Reload";
+ return [super _rightButtonTitle];
#else
- return issues_ == nil ? @"Confirm" : nil;
+ return @"Confirm";
#endif
}
] autorelease];
[sheet setBodyText:
- @"Copyright (C) 2008\n"
+ @"Copyright (C) 2008-2009\n"
"Jay Freeman (saurik)\n"
"saurik@saurik.com\n"
"http://www.saurik.com/\n"
+ (float) defaultWidth;
+- (id) _rightButtonTitle;
+
@end
if (![self _allowJavaScriptPanel])
return;
+ [self retain];
+
UIActionSheet *sheet = [[[UIActionSheet alloc]
initWithTitle:nil
buttons:[NSArray arrayWithObjects:@"OK", nil]
initWithTitle:nil
buttons:[NSArray arrayWithObjects:@"OK", @"Cancel", nil]
defaultButtonIndex:0
- delegate:self
+ delegate:indirect_
context:@"confirm"
] autorelease];
- (void) alertSheet:(UIActionSheet *)sheet buttonClicked:(int)button {
NSString *context([sheet context]);
- if ([context isEqualToString:@"alert"])
+ if ([context isEqualToString:@"alert"]) {
+ [self autorelease];
[sheet dismiss];
- else if ([context isEqualToString:@"confirm"]) {
+ } else if ([context isEqualToString:@"confirm"]) {
switch (button) {
case 1:
confirm_ = [NSNumber numberWithBool:YES];
/* XXX: deal with cydia:// pages */
BrowserView *browser([[[BrowserView alloc] initWithBook:book forWidth:width] autorelease]);
- if (features == nil && popup_) {
+ if (features != nil && popup_) {
[book setDelegate:delegate_];
[browser setDelegate:delegate_];
Section: Packaging
Maintainer: Jay Freeman (saurik) <saurik@saurik.com>
Architecture: iphoneos-arm
-Version: 1.0.2705-41
+Version: 1.0.2716-42
Replaces: com.sosiphone.addcydia
Depends: apt, darwintools, pcre, shell-cmds
Conflicts: com.sosiphone.addcydia