summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-19 14:56:10 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-19 14:56:10 +0000
commit165f437ab7fe376afebe65ee3b7b6257e7be95b7 (patch)
treebc64ee444c692a5709d59435785d0bb4eeb8eff1 /perl-install/mygtk2.pm
parent9618df67eba4281ff5c1aab68d95a553137ba1bf (diff)
downloaddrakx-165f437ab7fe376afebe65ee3b7b6257e7be95b7.tar
drakx-165f437ab7fe376afebe65ee3b7b6257e7be95b7.tar.gz
drakx-165f437ab7fe376afebe65ee3b7b6257e7be95b7.tar.bz2
drakx-165f437ab7fe376afebe65ee3b7b6257e7be95b7.tar.xz
drakx-165f437ab7fe376afebe65ee3b7b6257e7be95b7.zip
(_gtk) revert r243693 from 2008-07-30 (was: "(_gtk) fix moving to
position at install time with matchbox window manager") rationale: better fix position which will prevent flickering as a nice side effect
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 53e8bbb22..f654b18da 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] /2, $position->[1] /2);
+ $w->move($position->[0], $position->[1]);
}
$w->set_name(delete $opts->{widget_name}) if exists $opts->{widget_name};
$w->can_focus(delete $opts->{can_focus}) if exists $opts->{can_focus};