summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-12-02 21:14:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-12-02 21:14:59 +0000
commit9d5bf81652aff2d499b4a117e1c8beafa0593865 (patch)
tree937088d341c30a5ab2b4eb6a6d8a478a831d1ef5 /perl-install/mygtk2.pm
parent0d43ba93de8a110f71853dd391e3c71af063e41f (diff)
downloaddrakx-backup-do-not-use-9d5bf81652aff2d499b4a117e1c8beafa0593865.tar
drakx-backup-do-not-use-9d5bf81652aff2d499b4a117e1c8beafa0593865.tar.gz
drakx-backup-do-not-use-9d5bf81652aff2d499b4a117e1c8beafa0593865.tar.bz2
drakx-backup-do-not-use-9d5bf81652aff2d499b4a117e1c8beafa0593865.tar.xz
drakx-backup-do-not-use-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.pm2
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}) {