diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-22 16:14:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-22 16:14:48 +0000 |
commit | eb3dcd267d87e33bc38b41eb6853b0754bbeb975 (patch) | |
tree | 2ed82a4dbb4777445aa65000f2a700549ab4b555 | |
parent | 866f4082a64d9c6af829b0dd5f777dfefdd31781 (diff) | |
download | rpmdrake-eb3dcd267d87e33bc38b41eb6853b0754bbeb975.tar rpmdrake-eb3dcd267d87e33bc38b41eb6853b0754bbeb975.tar.gz rpmdrake-eb3dcd267d87e33bc38b41eb6853b0754bbeb975.tar.bz2 rpmdrake-eb3dcd267d87e33bc38b41eb6853b0754bbeb975.tar.xz rpmdrake-eb3dcd267d87e33bc38b41eb6853b0754bbeb975.zip |
fix unsane big progressbar for embedded wait messages
-rw-r--r-- | rpmdrake.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index e6dc4ad7..4208447a 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -185,7 +185,7 @@ sub wait_msg { my $mainw = ugtk2->new('rpmdrake', grab => 1, if_(exists $options{transient}, transient => $options{transient})); $mainw->{rwindow}->set_position($options{transient} ? 'center_on_parent' : 'center_always') if !$::isEmbedded; my $label = ref($msg) =~ /^Gtk/ ? $msg : Gtk2::Label->new($msg); - gtkadd($mainw->{window}, gtkpack__(gtkadd(Gtk2::VBox->new(0, 5), $label, if_(exists $options{widgets}, @{$options{widgets}})))); + gtkadd($mainw->{window}, gtkpack__(gtkpack__(Gtk2::VBox->new(0, 5), $label, if_(exists $options{widgets}, @{$options{widgets}})))); $label->signal_connect(expose_event => sub { $mainw->{displayed} = 1; 0 }); $mainw->sync until $mainw->{displayed}; gtkset_mousecursor_wait($mainw->{rwindow}->window); |