diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-01 08:18:44 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-01 08:18:44 +0000 |
commit | 468ab4cc3ea635c1df56d5fbf4b1650731e2f608 (patch) | |
tree | 84ecd03da6ef0cae03e61674c0825730de8aba89 | |
parent | f40b3dd9aa03f67462454d71b8a9f43a6b9d5f74 (diff) | |
download | urpmi-468ab4cc3ea635c1df56d5fbf4b1650731e2f608.tar urpmi-468ab4cc3ea635c1df56d5fbf4b1650731e2f608.tar.gz urpmi-468ab4cc3ea635c1df56d5fbf4b1650731e2f608.tar.bz2 urpmi-468ab4cc3ea635c1df56d5fbf4b1650731e2f608.tar.xz urpmi-468ab4cc3ea635c1df56d5fbf4b1650731e2f608.zip |
- gurpmi2
o nicer default window size
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | gurpmi2 | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -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 @@ -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; |