aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gurpm.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-15 17:03:49 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-15 17:03:49 +0000
commit2e94ef6fca25b33c6e70d99b32536c1a461c7c4e (patch)
tree6d437110d95d0134ea4b1fe863a553ead78d5fd2 /Rpmdrake/gurpm.pm
parente9c83ec8240c9a178bb86c84a2e0ad2c2654ea97 (diff)
downloadrpmdrake-2e94ef6fca25b33c6e70d99b32536c1a461c7c4e.tar
rpmdrake-2e94ef6fca25b33c6e70d99b32536c1a461c7c4e.tar.gz
rpmdrake-2e94ef6fca25b33c6e70d99b32536c1a461c7c4e.tar.bz2
rpmdrake-2e94ef6fca25b33c6e70d99b32536c1a461c7c4e.tar.xz
rpmdrake-2e94ef6fca25b33c6e70d99b32536c1a461c7c4e.zip
(init) size window rather than progressbar and increase default size in order to prevent resizing
Diffstat (limited to 'Rpmdrake/gurpm.pm')
-rwxr-xr-xRpmdrake/gurpm.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/gurpm.pm b/Rpmdrake/gurpm.pm
index 7d66e8fc..b10ca373 100755
--- a/Rpmdrake/gurpm.pm
+++ b/Rpmdrake/gurpm.pm
@@ -35,11 +35,11 @@ my $previous_main_window;
sub init {
my ($title, $initializing, %options) = @_;
- $mainw = ugtk2->new($title, %options);
+ $mainw = ugtk2->new($title, %options, default_width => 600);
$previous_main_window = $::main_window;
$::main_window = $mainw->{real_window};
$label = gtknew('Label', text => $initializing);
- $progressbar = gtknew('ProgressBar', width => 300);
+ $progressbar = gtknew('ProgressBar');
gtkadd($mainw->{window}, $vbox = gtknew('VBox', spacing => 5, border_width => 6, children_tight => [ $label, $progressbar ]));
$mainw->{rwindow}->set_position('center-on-parent');
$mainw->sync;