diff options
-rw-r--r-- | Makefile.config | 2 | ||||
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | lib/Xconfig/resolution_and_depth.pm | 5 |
3 files changed, 8 insertions, 3 deletions
diff --git a/Makefile.config b/Makefile.config index fd5a767..df237ee 100644 --- a/Makefile.config +++ b/Makefile.config @@ -1,3 +1,3 @@ NAME = drakx-kbd-mouse-x11 -VERSION = 0.48 +VERSION = 0.49 BRANCH = trunk @@ -1,3 +1,7 @@ +Version 0.49 - 28 February 2008 + +- XFdrake: background images are now jpeg files + Version 0.48 - 28 February 2008 - XFdrake: diff --git a/lib/Xconfig/resolution_and_depth.pm b/lib/Xconfig/resolution_and_depth.pm index 18afdef..c50f2ea 100644 --- a/lib/Xconfig/resolution_and_depth.pm +++ b/lib/Xconfig/resolution_and_depth.pm @@ -256,7 +256,7 @@ sub set_default_background { my %theme = getVarsFromSh("$::prefix/etc/sysconfig/bootsplash"); my @l = map { - if (my ($X, $Y, undef, $hour) = /^\Q$theme{THEME}\E-(\d+)x(\d+)(-(.*))?.png$/) { + if (my ($X, $Y, undef, $hour) = /^\Q$theme{THEME}\E-(\d+)x(\d+)(-(.*))?.jpg$/) { { file => $_, X => $X, Y => $Y, hour => $hour }; } else { () } } all($dir); @@ -281,8 +281,9 @@ sub set_default_background { foreach (@wanted) { if ($_->{hour}) { - symlinkf $_->{file}, "$dir/$theme{THEME}-$_->{hour}.png"; + symlinkf $_->{file}, "$dir/$theme{THEME}-$_->{hour}.jpg"; } else { + symlinkf $_->{file}, "$dir/default.jpg"; symlinkf $_->{file}, "$dir/default.png"; } } |