mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-11 21:27:11 +00:00
Minor radio button change on init and info plist dependency.
Reviewed by me.
This commit is contained in:
+2
-2
@@ -98,7 +98,7 @@
|
||||
|
||||
if (self)
|
||||
{
|
||||
[self setRadioGroup:aRadioGroup || [CPRadioGroup new]];
|
||||
[self setRadioGroup:aRadioGroup];
|
||||
|
||||
[self setHighlightsBy:CPContentsCellMask];
|
||||
[self setShowsStateBy:CPContentsCellMask];
|
||||
@@ -115,7 +115,7 @@
|
||||
|
||||
- (id)initWithFrame:(CGRect)aFrame
|
||||
{
|
||||
return [self initWithFrame:aFrame radioGroup:nil];
|
||||
return [self initWithFrame:aFrame radioGroup:[CPRadioGroup new]];
|
||||
}
|
||||
|
||||
- (CPInteger)nextState
|
||||
|
||||
@@ -388,6 +388,16 @@ BundleTask.prototype.defineInfoPlistTask = function()
|
||||
if (infoPlistPath && FILE.exists(infoPlistPath))
|
||||
filedir (infoPlistProductPath, [infoPlistPath]);
|
||||
|
||||
// FIXME: ? We do this because adding a .j file should cause Info.plist to be updated.
|
||||
// Any better way to handle this? Perhaps this should happen unconditionally.
|
||||
this.flattenedEnvironments().forEach(function(/*Environment*/ anEnvironment)
|
||||
{
|
||||
if (!anEnvironment.spritesImages())
|
||||
return;
|
||||
|
||||
filedir (infoPlistProductPath, this.buildProductStaticPathForEnvironment(anEnvironment));
|
||||
}, this);
|
||||
|
||||
this.enhance([infoPlistProductPath]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user