Commit graph

8 commits

Author SHA1 Message Date
Bastien Nocera
5ca5367018 background: Remove files that don't exist
If an xml file references a wallpaper that doesn't exist
(as seen by installing the desktop-backgrounds-basic package
on Fedora), then just don't add it to the list of wallpapers.

Reported by Matthias Clasen
2011-02-14 15:11:17 +00:00
Bastien Nocera
bad4e389ef background: Avoid warning when XML file doesn't exist 2011-02-14 14:28:46 +00:00
Bastien Nocera
ecdcb2c235 background: Implement saving a single item 2011-02-14 09:44:05 +00:00
Bastien Nocera
66ee58bf52 background: Add function to load a single XML file
And its item out of it. So that we can load a file on startup
and check whether it corresponds to our configuration.
2011-02-14 09:44:05 +00:00
Bastien Nocera
ee62ca5e9b background: Add note about saving location
To the unused XML save code.
2011-02-12 03:17:02 +00:00
Bastien Nocera
c4baa04942 background: Add ability to parse single XML file
To load a particular file by hand.
2011-02-12 03:13:59 +00:00
Bastien Nocera
c2e84e2c8a background: Add "added" signal to CcBackgroundXml
So that the front-end can load the wallpapers piece-meal, and
avoid overloading the UI on startup.
2011-02-12 03:13:55 +00:00
Bastien Nocera
415d4c1111 background: GnomeWpXml to CcBackgroundXml
and into a GObject.
2011-02-12 03:13:53 +00:00
Renamed from panels/background/gnome-wp-xml.c (Browse further)