summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xgurpmi25
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 00b7a487..bab626f5 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,8 @@
- urpmi.addmedia
o instead of discarding --update when using --distrib, give it a meaning:
only add media flagged "update"
+- gurpmi2
+ o nicer default window size
Version 6.4 - 14 August 2008, Thierry Vignaud
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;