aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/Skin.pm
diff options
context:
space:
mode:
authormatthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-01-31 11:06:10 +0000
committermatthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-01-31 11:06:10 +0000
commitf6b79841f315129d8e1261614efaa8253d286dee (patch)
treeb8e5c8bc75f7859e17fe88f9738defcd10e0adf5 /lib/Reaction/UI/Skin.pm
parent500b10d24decaa22645e9222720df13b983c5870 (diff)
downloadreaction-f6b79841f315129d8e1261614efaa8253d286dee.tar.gz
reaction-f6b79841f315129d8e1261614efaa8253d286dee.zip
removed view arg to LayoutSet, moved to using skin to resolve widget class, added temporary proxy to View from Skin
Diffstat (limited to 'lib/Reaction/UI/Skin.pm')
-rw-r--r--lib/Reaction/UI/Skin.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Reaction/UI/Skin.pm b/lib/Reaction/UI/Skin.pm
index 8896c96..8a29600 100644
--- a/lib/Reaction/UI/Skin.pm
+++ b/lib/Reaction/UI/Skin.pm
@@ -18,7 +18,7 @@ class Skin which {
has 'view' => (
is => 'ro', required => 1, weak_ref => 1,
- handles => [ qw(layout_set_class) ],
+ handles => [ qw(layout_set_class widget_class_for) ],
);
has 'super' => (
@@ -78,7 +78,6 @@ class Skin which {
my ($self, $name) = @_;
return (
name => $name,
- view => $self->view,
skin => $self,
($self->has_super ? (next_skin => $self->super) : ()),
$self->view->layout_set_args_for($name),