diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-27 08:13:28 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-27 08:13:28 +0000 |
commit | 7328c9478046d73f6f77abb27ad685eeb271ccdf (patch) | |
tree | e7214872bf0598343ed4714741b05e26b748d014 /perl-install/interactive/gtk.pm | |
parent | 734a753d6a3f5fe1479af41aed9ae0e3defb0213 (diff) | |
download | drakx-backup-do-not-use-7328c9478046d73f6f77abb27ad685eeb271ccdf.tar drakx-backup-do-not-use-7328c9478046d73f6f77abb27ad685eeb271ccdf.tar.gz drakx-backup-do-not-use-7328c9478046d73f6f77abb27ad685eeb271ccdf.tar.bz2 drakx-backup-do-not-use-7328c9478046d73f6f77abb27ad685eeb271ccdf.tar.xz drakx-backup-do-not-use-7328c9478046d73f6f77abb27ad685eeb271ccdf.zip |
diskdrake: when non embedded, ensure sub window are modal
all other drakx tool can be fixed the same way
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r-- | perl-install/interactive/gtk.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index ce2cd0974..f411517a6 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -336,7 +336,7 @@ sub ask_fromW { my ($o, $common, $l, $l2) = @_; my $ignore = 0; #-to handle recursivity - my $mainw = ugtk2->new($common->{title}, %$o); + my $mainw = ugtk2->new($common->{title}, %$o, if__($::main_window, transient => $::main_window)); #-the widgets my (@widgets, @widgets_always, @widgets_advanced, $advanced, $advanced_pack, $has_horiz_scroll, $has_scroll, $max_width); @@ -672,7 +672,7 @@ sub wait_messageW($$$) { my ($o, $title, $messages) = @_; local $ugtk2::pop_it = 1; - my $w = ugtk2->new($title, %$o, grab => 1); + my $w = ugtk2->new($title, %$o, grab => 1, if__($::main_window, transient => $::main_window)); gtkadd($w->{window}, my $hbox = Gtk2::HBox->new(0,0)); $hbox->pack_start(my $box = Gtk2::VBox->new(0,0), 1, 1, 10); $box->pack_start($_, 1, 1, 4) foreach my @l = map { Gtk2::Label->new(scalar warp_text($_)) } @$messages; |