summaryrefslogtreecommitdiffstats
path: root/perl-install/bootsplash.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-04-25 12:26:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-04-25 12:26:16 +0000
commit126777bc019a54afb4ec51299f2cf9d2841698aa (patch)
tree97f76e571902ead55ba138f1156a4b4f00b9b779 /perl-install/bootsplash.pm
parentf1f67448efc714873378dfeb8279fae68054a90a (diff)
downloaddrakx-126777bc019a54afb4ec51299f2cf9d2841698aa.tar
drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.tar.gz
drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.tar.bz2
drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.tar.xz
drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.zip
re-sync after the big svn loss
Diffstat (limited to 'perl-install/bootsplash.pm')
-rw-r--r--perl-install/bootsplash.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/bootsplash.pm b/perl-install/bootsplash.pm
index e657f6bf3..6507e46ef 100644
--- a/perl-install/bootsplash.pm
+++ b/perl-install/bootsplash.pm
@@ -3,10 +3,6 @@ package bootsplash;
use common;
use Xconfig::resolution_and_depth;
-use Exporter;
-our @ISA = qw(Exporter);
-our %EXPORT_TAGS = (drawing => [qw(rectangle2xywh xywh2rectangle distance farthest nearest)]);
-our @EXPORT_OK = map { @$_ } values %EXPORT_TAGS;
my $themes_dir = "/usr/share/bootsplash/themes";
my $themes_config_dir = "/etc/bootsplash/themes";
@@ -20,7 +16,7 @@ sub get_framebuffer_resolution() {
require bootloader;
require fsedit;
my $bootloader = bootloader::read(fsedit::get_hds());
- my $x_res = Xconfig::resolution_and_depth::from_bios($bootloader->{default_vga});
+ my $x_res = Xconfig::resolution_and_depth::from_bios($bootloader->{default_options}{vga});
$x_res ?
($x_res->{X} . 'x' . $x_res->{Y}, 1) :
(first(@resolutions), 0);