diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-12-02 21:14:59 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-12-02 21:14:59 +0000 |
commit | 9d5bf81652aff2d499b4a117e1c8beafa0593865 (patch) | |
tree | 937088d341c30a5ab2b4eb6a6d8a478a831d1ef5 /perl-install/mygtk2.pm | |
parent | 0d43ba93de8a110f71853dd391e3c71af063e41f (diff) | |
download | drakx-9d5bf81652aff2d499b4a117e1c8beafa0593865.tar drakx-9d5bf81652aff2d499b4a117e1c8beafa0593865.tar.gz drakx-9d5bf81652aff2d499b4a117e1c8beafa0593865.tar.bz2 drakx-9d5bf81652aff2d499b4a117e1c8beafa0593865.tar.xz drakx-9d5bf81652aff2d499b4a117e1c8beafa0593865.zip |
replace "policy => [ horizpolicy, vertpolicy ]" with "h_policy => ..., v_policy => ..."
(both defaulting to "automatic")
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r-- | perl-install/mygtk2.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index cb93ef680..30c3efcdc 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -335,7 +335,7 @@ sub _gtk__ScrolledWindow { if (!$w) { $w = Gtk2::ScrolledWindow->new(undef, undef); - $w->set_policy(@{delete $opts->{policy} || [ 'automatic', 'automatic' ]}); + $w->set_policy(delete $opts->{h_policy} || 'automatic', delete $opts->{v_policy} || 'automatic'); } if (my $child = delete $opts->{child}) { |