diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-10-25 10:49:36 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-10-25 10:49:36 +0000 |
commit | 1a2202b2081cc2b6d54c2f12319dbe5b9e598042 (patch) | |
tree | 56df74e6beba296fe899a73447430fa575f846c4 /gurpmi2 | |
parent | 20880cf7e095f60a9858e574c1716007f3c795b1 (diff) | |
download | urpmi-1a2202b2081cc2b6d54c2f12319dbe5b9e598042.tar urpmi-1a2202b2081cc2b6d54c2f12319dbe5b9e598042.tar.gz urpmi-1a2202b2081cc2b6d54c2f12319dbe5b9e598042.tar.bz2 urpmi-1a2202b2081cc2b6d54c2f12319dbe5b9e598042.tar.xz urpmi-1a2202b2081cc2b6d54c2f12319dbe5b9e598042.zip |
prevent a dialog to have a height of several scores of thousands pixels
Diffstat (limited to 'gurpmi2')
-rwxr-xr-x | gurpmi2 | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -328,7 +328,12 @@ sub do_install_3 () { } $vbox = Gtk2::VBox->new(0, 5); $progress_label = Gtk2::Label->new('-'); - $vbox->pack_start($progress_label, 1, 1, 0); + my $sw = Gtk2::ScrolledWindow->new(undef, undef); + $sw->add_with_viewport($progress_label); + $sw->set_shadow_type('in'); + $sw->set_policy('automatic', 'automatic'); + $sw->set_size_request(500, 200); + $vbox->pack_start($sw, 1, 1, 0); my $quit_button = Gtk2::Button->new(but(N("_Done"))); $quit_button->signal_connect(clicked => \&quit); add_button_box($vbox, $quit_button); |