summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-01-27 08:13:28 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-01-27 08:13:28 +0000
commit7328c9478046d73f6f77abb27ad685eeb271ccdf (patch)
treee7214872bf0598343ed4714741b05e26b748d014 /perl-install/diskdrake
parent734a753d6a3f5fe1479af41aed9ae0e3defb0213 (diff)
downloaddrakx-7328c9478046d73f6f77abb27ad685eeb271ccdf.tar
drakx-7328c9478046d73f6f77abb27ad685eeb271ccdf.tar.gz
drakx-7328c9478046d73f6f77abb27ad685eeb271ccdf.tar.bz2
drakx-7328c9478046d73f6f77abb27ad685eeb271ccdf.tar.xz
drakx-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/diskdrake')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index e6e0b6676..459468e30 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -55,6 +55,7 @@ sub main {
local $in->{grab} = 1;
$w = ugtk2->new('DiskDrake');
+ $::main_window = $w->{rwindow} unless $::isEmbedded;
my $rc = "/usr/share/libDrakX/diskdrake.rc";
-r $rc or $rc = dirname(__FILE__) . "/../diskdrake.rc";
-r $rc or $rc = dirname(__FILE__) . "/../share/diskdrake.rc";