summaryrefslogtreecommitdiffstats
path: root/perl-install/install/gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-28 23:38:56 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-28 23:38:56 +0000
commitc8554f78f6b71349290d633809d4eaf4a0047b76 (patch)
tree809ac47526227f2fe6a5417e2ed6da7c489bd2e7 /perl-install/install/gtk.pm
parentbebae48c37edaddaa485f165976ca18e91a3b9a2 (diff)
downloaddrakx-backup-do-not-use-c8554f78f6b71349290d633809d4eaf4a0047b76.tar
drakx-backup-do-not-use-c8554f78f6b71349290d633809d4eaf4a0047b76.tar.gz
drakx-backup-do-not-use-c8554f78f6b71349290d633809d4eaf4a0047b76.tar.bz2
drakx-backup-do-not-use-c8554f78f6b71349290d633809d4eaf4a0047b76.tar.xz
drakx-backup-do-not-use-c8554f78f6b71349290d633809d4eaf4a0047b76.zip
(move_selection) better positionning of sidepanel's selection bar
instead of using hardcoded offset (mainly visible in MCC) rationale: we pass the whole label widget as parameter so that we got more control on how to compute the Y coordinate instead of requiring callers to extract label's position from the widget
Diffstat (limited to 'perl-install/install/gtk.pm')
-rw-r--r--perl-install/install/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/gtk.pm b/perl-install/install/gtk.pm
index eb80cb083..ef3165543 100644
--- a/perl-install/install/gtk.pm
+++ b/perl-install/install/gtk.pm
@@ -172,7 +172,7 @@ sub update_steps_position {
if ($o->{steps}{$_}{entered} && !$o->{steps}{$_}{done}) {
# we need to flush the X queue since else we got a temporary Y position of -1 when switching locales:
mygtk2::flush(); #- for auto_installs which never go through the Gtk2 main loop
- $o->{steps_widget}->move_selection($steps{steps}{$_}{text}->allocation->y);
+ $o->{steps_widget}->move_selection($steps{steps}{$_}{text});
if ($last_step) {
$steps{steps}{$last_step}{img}->set_from_pixbuf($steps{done});