summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-23 16:43:21 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-23 16:43:21 +0000
commitf987521c149c0a5b47a8893febcfaa1f92d4504a (patch)
tree0a9d74238f8eb08b7a0dea8ac1d324686c4d4b7a /perl-install/standalone
parent3ff93a71aa3e4e021bad112d5ed8ad7246349fef (diff)
downloaddrakx-f987521c149c0a5b47a8893febcfaa1f92d4504a.tar
drakx-f987521c149c0a5b47a8893febcfaa1f92d4504a.tar.gz
drakx-f987521c149c0a5b47a8893febcfaa1f92d4504a.tar.bz2
drakx-f987521c149c0a5b47a8893febcfaa1f92d4504a.tar.xz
drakx-f987521c149c0a5b47a8893febcfaa1f92d4504a.zip
(set_wm_hints_if_needed) extract if from finish-install so that it can reused elsewhere (eg: gurpmi.update)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/finish-install4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install
index 6e4d844dc..694df3b9b 100755
--- a/perl-install/standalone/finish-install
+++ b/perl-install/standalone/finish-install
@@ -24,9 +24,7 @@ network::network::read_net_conf($net);
$::isWizard = 1;
my $in = 'interactive'->vnew;
-my $wm = any::running_window_manager();
-$in->{no_Window_Manager} = !$wm;
-$::set_dialog_hint = $wm eq 'drakx-matchbox-window-manager';
+any::set_wm_hints_if_needed($in);
sub get_conf {
my ($name) = @_;