summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--lib/Xconfig/resolution_and_depth.pm4
2 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 3b18895..2edd61d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+- XFdrake:
+ o when setting background for the resolution, handle "hour"-based
+ backgrounds (also add Mandriva.xml symlink)
+
Version 0.47 - 27 February 2008
- XFdrake:
diff --git a/lib/Xconfig/resolution_and_depth.pm b/lib/Xconfig/resolution_and_depth.pm
index 21af695..18afdef 100644
--- a/lib/Xconfig/resolution_and_depth.pm
+++ b/lib/Xconfig/resolution_and_depth.pm
@@ -275,6 +275,10 @@ sub set_default_background {
my @wanted = grep { $best->[0] == $_->{X} && $best->[1] == $_->{Y} } @l;
+ if (-e "$dir/$theme{THEME}.xml") {
+ symlinkf "$theme{THEME}.xml", "$dir/Mandriva.xml";
+ }
+
foreach (@wanted) {
if ($_->{hour}) {
symlinkf $_->{file}, "$dir/$theme{THEME}-$_->{hour}.png";