summaryrefslogtreecommitdiffstats
path: root/gurpm.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2004-02-06 12:01:55 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2004-02-06 12:01:55 +0000
commit782a560d782d0b7f510a1dd5e27749658ce729ba (patch)
tree1fe1ba832086f4342980b595e9b6665c2381e3a5 /gurpm.pm
parent01d10503d8ca4a7230361c1691653971edff4554 (diff)
downloadurpmi-782a560d782d0b7f510a1dd5e27749658ce729ba.tar
urpmi-782a560d782d0b7f510a1dd5e27749658ce729ba.tar.gz
urpmi-782a560d782d0b7f510a1dd5e27749658ce729ba.tar.bz2
urpmi-782a560d782d0b7f510a1dd5e27749658ce729ba.tar.xz
urpmi-782a560d782d0b7f510a1dd5e27749658ce729ba.zip
fix #7472 (don't force progressbar to grow its default width)
Diffstat (limited to 'gurpm.pm')
-rw-r--r--gurpm.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gurpm.pm b/gurpm.pm
index a8083626..48008891 100644
--- a/gurpm.pm
+++ b/gurpm.pm
@@ -30,8 +30,8 @@ sub init {
my ($title, $initializing, $cancel_msg, $cancel_cb) = @_;
$mainw = ugtk2->new($title);
$label = Gtk2::Label->new($initializing);
- $progressbar = gtkset_size_request(Gtk2::ProgressBar->new, 400, 0);
- gtkadd($mainw->{window}, gtkpack($vbox = gtkadd(create_vbox(), $label, $progressbar)));
+ $progressbar = gtkset_size_request(Gtk2::ProgressBar->new, 300, -1);
+ gtkadd($mainw->{window}, gtkpack__($vbox = Gtk2::VBox->new(0, 5), $label, $progressbar));
$mainw->{rwindow}->set_position('center');
$mainw->sync;
}