summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-10-25 10:49:36 +0000
committerThierry Vignaud <tv@mandriva.org>2006-10-25 10:49:36 +0000
commit1a2202b2081cc2b6d54c2f12319dbe5b9e598042 (patch)
tree56df74e6beba296fe899a73447430fa575f846c4 /gurpmi2
parent20880cf7e095f60a9858e574c1716007f3c795b1 (diff)
downloadurpmi-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-xgurpmi27
1 files changed, 6 insertions, 1 deletions
diff --git a/gurpmi2 b/gurpmi2
index 0d32ad62..aeff1370 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -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);