summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-07-30 13:18:52 +0000
committerThierry Vignaud <tv@mandriva.org>2008-07-30 13:18:52 +0000
commit79bcb7783916ecd828626865dd3cfed2d0ba8684 (patch)
treef76f919e08dc93a17f6bf96b791b225c6ea7608b /perl-install
parente725097a9f1e3fd0637e22a6f7df1735850ba187 (diff)
downloaddrakx-79bcb7783916ecd828626865dd3cfed2d0ba8684.tar
drakx-79bcb7783916ecd828626865dd3cfed2d0ba8684.tar.gz
drakx-79bcb7783916ecd828626865dd3cfed2d0ba8684.tar.bz2
drakx-79bcb7783916ecd828626865dd3cfed2d0ba8684.tar.xz
drakx-79bcb7783916ecd828626865dd3cfed2d0ba8684.zip
(_gtk) fix moving to position at install time with matchbox window manager
Diffstat (limited to 'perl-install')
-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 cfcd1cd52..e6ea6d493 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -111,7 +111,7 @@ sub _gtk {
$w->set_size_request(delete $opts->{width} || -1, delete $opts->{height} || -1) if exists $opts->{width} || exists $opts->{height};
if (my $position = delete $opts->{position}) {
- $w->move($position->[0], $position->[1]);
+ $w->move($position->[0] /2, $position->[1] /2);
}
$w->set_name(delete $opts->{widget_name}) if exists $opts->{widget_name};
$w->can_focus(delete $opts->{can_focus}) if exists $opts->{can_focus};