summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-01 08:18:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-01 08:18:44 +0000
commit468ab4cc3ea635c1df56d5fbf4b1650731e2f608 (patch)
tree84ecd03da6ef0cae03e61674c0825730de8aba89 /gurpmi2
parentf40b3dd9aa03f67462454d71b8a9f43a6b9d5f74 (diff)
downloadurpmi-468ab4cc3ea635c1df56d5fbf4b1650731e2f608.tar
urpmi-468ab4cc3ea635c1df56d5fbf4b1650731e2f608.tar.gz
urpmi-468ab4cc3ea635c1df56d5fbf4b1650731e2f608.tar.bz2
urpmi-468ab4cc3ea635c1df56d5fbf4b1650731e2f608.tar.xz
urpmi-468ab4cc3ea635c1df56d5fbf4b1650731e2f608.zip
- gurpmi2
o nicer default window size
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi25
1 files changed, 4 insertions, 1 deletions
diff --git a/gurpmi2 b/gurpmi2
index 7fc0ae27..5363c87a 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -28,6 +28,8 @@ our $force = 0;
our $test = 0;
our $use_provides = 1;
+my $progressbar_size = 450;
+
#- GUI globals
my ($mainw, $mainbox);
@@ -73,6 +75,7 @@ $mainw->set_border_width(3);
$mainw->set_title(N("RPM installation"));
$mainw->signal_connect(destroy => \&quit);
$mainw->set_position('center');
+$mainw->set_default_size($progressbar_size, 60);
$mainw->set_modal(0);
$mainbox = Gtk2::VBox->new(0, 5);
$mainw->add($mainbox);
@@ -250,7 +253,7 @@ sub do_install_3 () {
my $progress_label = Gtk2::Label->new('-');
$vbox->pack_start($progress_label, 1, 1, 0);
my $progressbar = Gtk2::ProgressBar->new;
- $progressbar->set_size_request(450, -1);
+ $progressbar->set_size_request($progressbar_size, -1);
$vbox->pack_start($progressbar, 0, 0, 0);
change_mainw($vbox);
my $progress_nb;