diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-07-30 13:18:52 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-07-30 13:18:52 +0000 |
commit | 79bcb7783916ecd828626865dd3cfed2d0ba8684 (patch) | |
tree | f76f919e08dc93a17f6bf96b791b225c6ea7608b | |
parent | e725097a9f1e3fd0637e22a6f7df1735850ba187 (diff) | |
download | drakx-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
-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 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}; |