summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-08-02 16:24:18 +0000
committerOlivier Blin <oblin@mandriva.org>2005-08-02 16:24:18 +0000
commitddeb4e3beba016bfd2e6d49048b301e94f1ff5e3 (patch)
treeac307104061d20f8e30abee6fbe7e059ed6098cf /perl-install/install_steps_gtk.pm
parent60efd84bdcf04870b3469b428a2481da680d6b58 (diff)
downloaddrakx-ddeb4e3beba016bfd2e6d49048b301e94f1ff5e3.tar
drakx-ddeb4e3beba016bfd2e6d49048b301e94f1ff5e3.tar.gz
drakx-ddeb4e3beba016bfd2e6d49048b301e94f1ff5e3.tar.bz2
drakx-ddeb4e3beba016bfd2e6d49048b301e94f1ff5e3.tar.xz
drakx-ddeb4e3beba016bfd2e6d49048b301e94f1ff5e3.zip
load xpad module for xbox (Stew)
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index bb3c50e7b..fb325a578 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -132,7 +132,10 @@ sub new($$) {
}
OK:
$ENV{DISPLAY} = $wanted_DISPLAY;
- run_program::run('xset', 'm', '1/8', '1') if is_xbox();
+ if (is_xbox()) {
+ modules::load('xpad');
+ run_program::run('xset', 'm', '1/8', '1');
+ }
install_gtk::init_gtk($o);
install_gtk::init_sizes();
install_gtk::install_theme($o);