aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-18 13:03:28 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-18 13:03:28 +0000
commitdbf7ced35df07e325f54323e03d6eb0dee2995f7 (patch)
treedeedbfe6807da0b1247898faefb3822339df26ae /rpmdrake.pm
parenta94f7555c7f5478968551d6948e2b51a05a7dc60 (diff)
downloadrpmdrake-dbf7ced35df07e325f54323e03d6eb0dee2995f7.tar
rpmdrake-dbf7ced35df07e325f54323e03d6eb0dee2995f7.tar.gz
rpmdrake-dbf7ced35df07e325f54323e03d6eb0dee2995f7.tar.bz2
rpmdrake-dbf7ced35df07e325f54323e03d6eb0dee2995f7.tar.xz
rpmdrake-dbf7ced35df07e325f54323e03d6eb0dee2995f7.zip
keep rpmdrake wait messages centered
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index c09469c6..3e7df118 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -166,6 +166,7 @@ sub wait_msg {
my $label = ref($msg) =~ /^Gtk/ ? $msg : Gtk2::Label->new($msg);
gtkadd($mainw->{window}, gtkpack(gtkadd(create_vbox(), $label, if_(exists $options{widgets}, @{$options{widgets}}))));
$label->signal_connect(expose_event => sub { $mainw->{displayed} = 1; 0 });
+ $mainw->{rwindow}->set_position('center_always');
$mainw->sync until $mainw->{displayed};
gtkset_mousecursor_wait($mainw->{rwindow}->window);
$mainw->flush;