aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-10-21 07:19:28 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-10-21 07:19:28 +0000
commit582f47a784e872fb3e076203650e683ee9ee1cd6 (patch)
tree3ec529b95301d89220bb4223e3d6c090363dc2c5
parent8dae610a3ebdce82a1144e37524e7ee4cbe64062 (diff)
downloadrpmdrake-582f47a784e872fb3e076203650e683ee9ee1cd6.tar
rpmdrake-582f47a784e872fb3e076203650e683ee9ee1cd6.tar.gz
rpmdrake-582f47a784e872fb3e076203650e683ee9ee1cd6.tar.bz2
rpmdrake-582f47a784e872fb3e076203650e683ee9ee1cd6.tar.xz
rpmdrake-582f47a784e872fb3e076203650e683ee9ee1cd6.zip
Remove a spurious level of gtkpack__
-rw-r--r--rpmdrake.pm10
1 files changed, 9 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index da638012..9386f60d 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -247,13 +247,21 @@ 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::WrappedLabel->new($msg);
- gtkadd($mainw->{window}, gtkpack__(gtkpack__(gtkset_border_width(Gtk2::VBox->new(0, 5),6), $label, if_(exists $options{widgets}, @{$options{widgets}}))));
+ gtkadd(
+ $mainw->{window},
+ gtkpack__(
+ gtkset_border_width(Gtk2::VBox->new(0, 5), 6),
+ $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);
$mainw->flush;
$mainw;
}
+
sub remove_wait_msg {
my $w = shift;
gtkset_mousecursor_normal($w->{rwindow}->window);