summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-18 19:12:40 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-18 19:12:40 +0000
commitd4c6ac5efaa281abef534fd4e814c4ded7a78d79 (patch)
treeb3a9a8b88316f75c65754367577308918a2b674c /perl-install/mygtk2.pm
parent7c96a61903a7b3bf10570a3d8c85ea8b4c8ebc62 (diff)
downloaddrakx-d4c6ac5efaa281abef534fd4e814c4ded7a78d79.tar
drakx-d4c6ac5efaa281abef534fd4e814c4ded7a78d79.tar.gz
drakx-d4c6ac5efaa281abef534fd4e814c4ded7a78d79.tar.bz2
drakx-d4c6ac5efaa281abef534fd4e814c4ded7a78d79.tar.xz
drakx-d4c6ac5efaa281abef534fd4e814c4ded7a78d79.zip
- handle position for paned widgets (needed for rpmdrake, #38762)
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index f78347977..437112054 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -767,6 +767,7 @@ sub _gtk_any_Paned {
if (!$w) {
$w = "Gtk2::$class"->new;
$w->set_border_width(delete $opts->{border_width}) if exists $opts->{border_width};
+ $w->set_position(delete $opts->{position}) if exists $opts->{position};
} elsif ($action eq 'gtkset') {
$_->destroy foreach $w->get_children;
}