summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-28 16:58:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-28 16:58:49 +0000
commit4479ed3920f5b5ce4af1359d4b3e485053ab60e1 (patch)
tree61a631ee0ccc49dafebeb2c9f85246b32efd44aa
parent28f3551b53039d9a12489f91a4f51f1f431199c0 (diff)
downloaddrakx-kbd-mouse-x11-4479ed3920f5b5ce4af1359d4b3e485053ab60e1.tar
drakx-kbd-mouse-x11-4479ed3920f5b5ce4af1359d4b3e485053ab60e1.tar.gz
drakx-kbd-mouse-x11-4479ed3920f5b5ce4af1359d4b3e485053ab60e1.tar.bz2
drakx-kbd-mouse-x11-4479ed3920f5b5ce4af1359d4b3e485053ab60e1.tar.xz
drakx-kbd-mouse-x11-4479ed3920f5b5ce4af1359d4b3e485053ab60e1.zip
- 0.49:
- XFdrake: background images are now jpeg files
-rw-r--r--Makefile.config2
-rw-r--r--NEWS4
-rw-r--r--lib/Xconfig/resolution_and_depth.pm5
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
diff --git a/NEWS b/NEWS
index dda0b3e..f7d01de 100644
--- a/NEWS
+++ b/NEWS
@@ -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";
}
}