aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gurpm.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-20 14:08:11 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-20 14:08:11 +0000
commitf621a6716fac7f95e473db764a90f222871b30f3 (patch)
tree8af416d362783a714496078a75eb9e135cf1b529 /Rpmdrake/gurpm.pm
parent95523e07c405e739a0c196b5998ad8b0010805f5 (diff)
downloadrpmdrake-f621a6716fac7f95e473db764a90f222871b30f3.tar
rpmdrake-f621a6716fac7f95e473db764a90f222871b30f3.tar.gz
rpmdrake-f621a6716fac7f95e473db764a90f222871b30f3.tar.bz2
rpmdrake-f621a6716fac7f95e473db764a90f222871b30f3.tar.xz
rpmdrake-f621a6716fac7f95e473db764a90f222871b30f3.zip
(init) set up so that transientness hint are OK for next dialogs
Diffstat (limited to 'Rpmdrake/gurpm.pm')
-rwxr-xr-xRpmdrake/gurpm.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/gurpm.pm b/Rpmdrake/gurpm.pm
index 220c2eaf..12501e57 100755
--- a/Rpmdrake/gurpm.pm
+++ b/Rpmdrake/gurpm.pm
@@ -34,6 +34,7 @@ our ($mainw, $label, $progressbar, $vbox, $cancel, $hbox_cancel);
sub init {
my ($title, $initializing, %options) = @_;
$mainw = ugtk2->new($title, %options);
+ $::main_window = $mainw->{real_window};
$label = gtknew('Label', text => $initializing);
$progressbar = gtknew('ProgressBar', width => 300);
gtkadd($mainw->{window}, $vbox = gtknew('VBox', spacing => 5, border_width => 6, children_tight => [ $label, $progressbar ]));