summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/various.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-07-31 09:34:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-07-31 09:34:10 +0000
commit9111bc27d0c1988dedef66070416424fa9464fb2 (patch)
tree04941edda8000cb623e97b30374d6ba1b7bad027 /lib/Xconfig/various.pm
parent6e0e53f44ea1892db3333fca5289e8f199b5189c (diff)
downloaddrakx-kbd-mouse-x11-9111bc27d0c1988dedef66070416424fa9464fb2.tar
drakx-kbd-mouse-x11-9111bc27d0c1988dedef66070416424fa9464fb2.tar.gz
drakx-kbd-mouse-x11-9111bc27d0c1988dedef66070416424fa9464fb2.tar.bz2
drakx-kbd-mouse-x11-9111bc27d0c1988dedef66070416424fa9464fb2.tar.xz
drakx-kbd-mouse-x11-9111bc27d0c1988dedef66070416424fa9464fb2.zip
- drop support for installing/configuring 915resolution
(no more needed since x11-driver-video-intel 2.0)
Diffstat (limited to 'lib/Xconfig/various.pm')
-rw-r--r--lib/Xconfig/various.pm27
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/Xconfig/various.pm b/lib/Xconfig/various.pm
index 081005c..2bef5c9 100644
--- a/lib/Xconfig/various.pm
+++ b/lib/Xconfig/various.pm
@@ -330,31 +330,4 @@ sub setupFB {
bootloader::action($bootloader, 'when_config_changed');
}
-sub handle_May_Need_ForceBIOS {
- my ($in, $raw_X) = @_;
-
- Xconfig::resolution_and_depth::is_915resolution_configured and return;
-
- any { $_->{Options}{May_Need_ForceBIOS} } $raw_X->get_devices or return;
-
- my $log = cat_('/var/log/Xorg.0.log');
- $log =~ /Option "May_Need_ForceBIOS" is not used/ or return;
-
-
- my @builtin_modes = $log =~ /\*Built-in mode "(\d+x\d+)"/g or return;
- my $resolution = $raw_X->get_resolution;
- !member("$resolution->{X}x$resolution->{Y}", @builtin_modes) or return;
-
- $in->ask_yesorno('', formatAlaTeX(N("The display resolution being used may not be correct.
-
-If your desktop appears to stretch beyond the edges of the display,
-installing %s may help fix the problem. Install it now?", '915resolution')), 1) or return;
-
- $in->do_pkgs->ensure_binary_is_installed('915resolution', '915resolution', 1) or return;
-
- Xconfig::resolution_and_depth::set_915resolution($resolution);
-
- 'need_restart';
-}
-
1;