summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/logdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-05-02 08:32:57 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-05-02 08:32:57 +0000
commitae728969f2c0c4d6e4d0c6845f434bdead7c22df (patch)
tree128d087484045167f28c93149ed8faebd1532e2e /perl-install/standalone/logdrake
parent68490488f56ca52e8189795c90c9212df12824a5 (diff)
downloaddrakx-backup-do-not-use-ae728969f2c0c4d6e4d0c6845f434bdead7c22df.tar
drakx-backup-do-not-use-ae728969f2c0c4d6e4d0c6845f434bdead7c22df.tar.gz
drakx-backup-do-not-use-ae728969f2c0c4d6e4d0c6845f434bdead7c22df.tar.bz2
drakx-backup-do-not-use-ae728969f2c0c4d6e4d0c6845f434bdead7c22df.tar.xz
drakx-backup-do-not-use-ae728969f2c0c4d6e4d0c6845f434bdead7c22df.zip
embedding cleanups resulting in reusing main window icon in sub dialogs
Diffstat (limited to 'perl-install/standalone/logdrake')
-rwxr-xr-xperl-install/standalone/logdrake3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake
index bf491f71d..6a188a04d 100755
--- a/perl-install/standalone/logdrake
+++ b/perl-install/standalone/logdrake
@@ -216,13 +216,14 @@ sub parse_file {
$file =~ s/\.gz$//;
my ($pbar, $win_pb);
unless ($::isEmbedded && $isExplain) {
+ local $::main_window = $my_win->{real_window};
gtkadd($win_pb = gtkset_modal(Gtk2::Window->new('toplevel'), 1),
gtkpack(Gtk2::VBox->new(2,0),
Gtk2::Label->new(" " . N("please wait, parsing file: %s", $descr) . " "),
$pbar = Gtk2::ProgressBar->new
)
);
- $win_pb->set_transient_for($my_win->{real_window}) unless $::isEmbedded;
+ $win_pb->set_transient_for($my_win->{real_window});
$win_pb->set_position('center');
$win_pb->realize;
$win_pb->show_all;