summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-29 12:22:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-29 12:22:24 +0000
commit3b8ff8daaaa524813ef41de7f15be13fab5759b1 (patch)
tree28ad55227f61483f4d2caee20d117f18222ee7fc /perl-install
parentd8ebe36acd6b20cb92bf9a6c534091c68d53a252 (diff)
downloaddrakx-3b8ff8daaaa524813ef41de7f15be13fab5759b1.tar
drakx-3b8ff8daaaa524813ef41de7f15be13fab5759b1.tar.gz
drakx-3b8ff8daaaa524813ef41de7f15be13fab5759b1.tar.bz2
drakx-3b8ff8daaaa524813ef41de7f15be13fab5759b1.tar.xz
drakx-3b8ff8daaaa524813ef41de7f15be13fab5759b1.zip
don't set $::main_window during install
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index 459468e30..593a12831 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -55,7 +55,7 @@ sub main {
local $in->{grab} = 1;
$w = ugtk2->new('DiskDrake');
- $::main_window = $w->{rwindow} unless $::isEmbedded;
+ $::main_window = $w->{rwindow} if !$::isEmbedded && !$::isInstall;
my $rc = "/usr/share/libDrakX/diskdrake.rc";
-r $rc or $rc = dirname(__FILE__) . "/../diskdrake.rc";
-r $rc or $rc = dirname(__FILE__) . "/../share/diskdrake.rc";