summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-08-05 04:23:39 +0000
committerOlivier Blin <oblin@mandriva.org>2005-08-05 04:23:39 +0000
commit89a14b9204e0caad6d143949e0ea9c4cf2173df9 (patch)
tree519b1c93edb0466e653010a6b5faa993c93c86cb /perl-install/install_steps_gtk.pm
parent6d1a9d2a8eb719e5ff0e3ea3517b3e59075f306c (diff)
downloaddrakx-89a14b9204e0caad6d143949e0ea9c4cf2173df9.tar
drakx-89a14b9204e0caad6d143949e0ea9c4cf2173df9.tar.gz
drakx-89a14b9204e0caad6d143949e0ea9c4cf2173df9.tar.bz2
drakx-89a14b9204e0caad6d143949e0ea9c4cf2173df9.tar.xz
drakx-89a14b9204e0caad6d143949e0ea9c4cf2173df9.zip
move is_xbox from common to detect_devices
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index fb325a578..470f145b7 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -132,7 +132,8 @@ sub new($$) {
}
OK:
$ENV{DISPLAY} = $wanted_DISPLAY;
- if (is_xbox()) {
+ require detect_devices;
+ if (detect_devices::is_xbox()) {
modules::load('xpad');
run_program::run('xset', 'm', '1/8', '1');
}