From 5e5c71900c26e438bce5d2f56b0c63a7fde94ab3 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 9 Oct 2008 20:55:17 +0000 Subject: [PATCH] Bug fix release. --- Dim Wallpaper.theme/Widget.html | 20 +++++++++++++++++++ Library.mm | 19 ++++++++++++++++++ .../Info.plist | 0 control | 2 +- 4 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 Dim Wallpaper.theme/Widget.html rename {No Unocked Icon Labels.theme => No Undocked Icon Labels.theme}/Info.plist (100%) diff --git a/Dim Wallpaper.theme/Widget.html b/Dim Wallpaper.theme/Widget.html new file mode 100644 index 0000000..6acba2b --- /dev/null +++ b/Dim Wallpaper.theme/Widget.html @@ -0,0 +1,20 @@ + + + + + + + +
+ diff --git a/Library.mm b/Library.mm index de1b156..fc3674c 100644 --- a/Library.mm +++ b/Library.mm @@ -589,6 +589,25 @@ static id SBContentLayer$initWithSize$(SBContentLayer *self, SEL se } } + for (size_t i(0), e([themes_ count]); i != e; ++i) { + NSString *theme = [themes_ objectAtIndex:(e - i - 1)]; + NSString *html = [theme stringByAppendingPathComponent:@"Widget.html"]; + if ([Manager_ fileExistsAtPath:html]) { + CGRect bounds = [self bounds]; + + UIWebDocumentView *view([[[UIWebDocumentView alloc] initWithFrame:bounds] autorelease]); + [view setAutoresizes:true]; + + NSURL *url = [NSURL fileURLWithPath:html]; + [view loadRequest:[NSURLRequest requestWithURL:url]]; + + [[view webView] setDrawsBackground:false]; + [view setBackgroundColor:[UIColor clearColor]]; + + [self addSubview:view]; + } + } + return self; } diff --git a/No Unocked Icon Labels.theme/Info.plist b/No Undocked Icon Labels.theme/Info.plist similarity index 100% rename from No Unocked Icon Labels.theme/Info.plist rename to No Undocked Icon Labels.theme/Info.plist diff --git a/control b/control index 98c0ac2..2be35c7 100644 --- a/control +++ b/control @@ -3,7 +3,7 @@ Priority: optional Section: System Maintainer: Jay Freeman (saurik) Architecture: iphoneos-arm -Version: 0.9.2598-1 +Version: 0.9.2600-1 Description: more powerful, open-source SummerBoard Name: WinterBoard Depends: mobilesubstrate (>= 0.9.2587-1) -- 2.45.2