diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2004-02-06 12:01:55 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2004-02-06 12:01:55 +0000 |
commit | 782a560d782d0b7f510a1dd5e27749658ce729ba (patch) | |
tree | 1fe1ba832086f4342980b595e9b6665c2381e3a5 /gurpm.pm | |
parent | 01d10503d8ca4a7230361c1691653971edff4554 (diff) | |
download | urpmi-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.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |