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
e5fb92268f
background: Show 'Adwaita' as the first in the list
...
https://bugzilla.gnome.org/show_bug.cgi?id=637384
2011-02-12 03:14:00 +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
265e10af1a
background: Remove unused variable
2011-02-12 03:13:58 +00:00
Bastien Nocera
ce4f4d5627
background: Make loading wallpapers seem faster
...
As the UI actually updates as the files are loaded.
2011-02-12 03:13:56 +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
Bastien Nocera
2e9519a57f
background: Remove unneeded include
2011-02-12 03:13:51 +00:00
Bastien Nocera
c016e5cea2
background: Remove the "changed" signal
...
It wasn't used anyway.
2011-02-12 03:13:50 +00:00
Bastien Nocera
555bf47f51
background: Load bg data when selected
...
And only when selected. There's no point in loading it straight
away, as we have more than enough metadata to display it in the
icon view, and we'll need to load up the data when we display
it anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=641414
2011-02-11 19:01:20 +00:00
Bastien Nocera
2e8faa10f0
background: Don't warn when trying to load a gradient
2011-02-11 18:52:38 +00:00
Bastien Nocera
2735c788b4
background: Use URIs everywhere internally
...
Now we'd just need gnome-bg to make the jump.
This also fixes unique IDs for the wallpapers source, as
multiple backgrounds can be defined in a single XML file.
2011-02-11 18:11:11 +00:00
Bastien Nocera
eda2f27c51
background: Remove unused settings struct member
2011-02-11 18:04:05 +00:00
Bastien Nocera
eb5b455097
background: Remove some unneeded allocations
2011-02-11 16:22:54 +00:00
Bastien Nocera
7f9f1cabe0
background: Remove debug
2011-02-11 16:16:13 +00:00
Bastien Nocera
6b4f95e9d1
background: Copy to set the new background
...
Instead of reusing the item from the list store, otherwise we
might be tweaking properties for an item that we shouldn't,
and leaking user preferences into the "static" list store.
2011-02-11 12:48:48 +00:00
Bastien Nocera
85b2cad706
background: Add function to copy a background item
2011-02-11 12:48:28 +00:00
Bastien Nocera
9b55bb20e3
background: Load initial state from GSettings
...
gnome_wp_item_update() used to do that for us.
2011-02-11 12:39:51 +00:00
Bastien Nocera
4bd51634a0
background: Make update_size() work in _load()
...
If we never got an initial frame, it wouldn't work too well.
2011-02-11 12:38:46 +00:00
Bastien Nocera
ba72b7ab18
background: Remove read-only source property
...
And squash together the code to setup the editing widgets.
2011-02-11 12:24:48 +00:00
Bastien Nocera
15a5849384
background: Use the item flags
...
When setting a new background. That ensures that we don't lose
existing settings when the background item doesn't provide one
(for example, setting the background colour when setting a picture
item).
2011-02-11 03:51:38 +00:00
Bastien Nocera
9e3903a828
background: Set the flags for the pictures source
2011-02-11 03:49:49 +00:00
Bastien Nocera
cb2a53141d
background: Set the flags for the colors source
2011-02-11 03:49:23 +00:00
Bastien Nocera
f2cfedd98b
background: Add function for debugging
...
Prints out the contents of a CcBackgroundItem in details.
2011-02-11 03:35:50 +00:00
Bastien Nocera
73798da688
background: Remove some dead code
2011-02-11 03:19:09 +00:00
Bastien Nocera
ed425ecf9d
background: Better guards for public functions
2011-02-11 03:18:22 +00:00
Jasper St. Pierre
0cbc8ea27a
Fix build of generated sources.
2011-02-10 17:05:45 -05:00
Bastien Nocera
a653a0a560
background: Remove unused GnomeWpInfo code
2011-02-10 20:35:02 +00:00
Bastien Nocera
ca14846ef9
background: Major rework of the CcBackgroundItem code
...
It now is a full GObject, will be able to track the original
XML file for a wallpaper, as well as which values are set in it.
This will allow us to restore wallpapers properly, and only offer
editing options when those aren't already hard-coded inside the
item.
2011-02-10 20:35:02 +00:00
Bastien Nocera
9a209fa181
background: Rename gnome-wp-item to cc-background-item
2011-02-10 20:35:02 +00:00
Bastien Nocera
7b287b8c03
background: Async function for loading XML wallpapers
...
It's ugly API, but it means we don't block anymore.
2011-02-10 12:10:13 +00:00
Bastien Nocera
1416e68b92
background: Make a few functions private
...
They were only used within gnome-wp-xml.c, and nowhere else
so hide them there.
2011-02-10 12:10:13 +00:00
Bastien Nocera
75d97e3bf4
background: Remove loading of obsolete backgrounds
...
Shouldn't be needed any more.
2011-02-10 12:10:13 +00:00
Matthias Clasen
118fcb3921
background: Add Desktop as a keyword
2011-01-27 01:35:58 -05:00
William Jon McCann
6a3b8be917
background: tweak widget alignments
2011-01-24 13:13:11 -05:00
Khaled Hosny
5839a2735c
background: Use text attributes instead of markup
...
in the UI file.
https://bugzilla.gnome.org/show_bug.cgi?id=639187
2011-01-14 14:21:26 +00:00
Thomas Wood
d50dadc8ac
shell: only include items identified as settings panels in the list
...
Simplify the category requirements and do not include items that are not
settings panels.
2010-12-20 21:04:49 +00:00
Bastien Nocera
7ca2a8a3e5
background: Use g_settings_delay() properly
...
g_settings_delay() doesn't work like GConf's changesets. Either
you create a separate GSettings for non-delayed application,
or you call g_settings_apply() any time you want changes applied.
2010-12-16 19:38:31 +00:00
Bastien Nocera
dbdfacc022
background: Add icons to the dist
2010-12-16 18:37:59 +00:00
Bastien Nocera
30d878cfd5
background: Try to fix original state
2010-12-16 18:37:59 +00:00
Bastien Nocera
59f84a7088
background: Avoid the size changing when changing preview
...
The gnome_wp_item_update_size() code was working off old data.
We need to copy the height and width as well if we want it to
match the current background. The next call to _update_size()
will fill in ->size if it wasn't already set.
2010-12-16 18:37:59 +00:00
Bastien Nocera
391cb33829
background: Avoid empty screens
...
When switching from a colour to a picture.
2010-12-16 18:37:59 +00:00
Bastien Nocera
02e095e26c
background: Fix small style issue
2010-12-16 18:37:58 +00:00
Bastien Nocera
2365e47228
background: Better handling of colours and gradients
...
Implement gradients, make sure that selecting one particular
gradient or solid colour doesn't overwrite the previous one.
2010-12-15 16:46:53 +00:00
Bastien Nocera
f0e4595d9b
background: Avoid repeating colour names
...
If there's no files loaded, then there's no size. Left-over from
s/description/size/ in gnome-wp-item.c
2010-12-15 13:15:07 +00:00
Bastien Nocera
06fd58b90b
background: Force bigger size for preview rendering
...
The current code would use the "default" cell renderer size of
16 before scaling the emblem. Make the default size bigger so that
the emblems are applied on that bigger size, not on the smaller size.
Fixes tiny emblem for slideshows.
2010-12-15 12:57:13 +00:00
Bastien Nocera
035126a970
background: Add emblem for slideshow previews
...
Though for some reason the icon ends up being tiny...
2010-12-14 20:29:33 +00:00
Bastien Nocera
f48054ccf1
background: Show wallpaper size on startup
...
When available. Remove the "px" from the size label.
2010-12-14 19:24:19 +00:00
Bastien Nocera
933dee47f0
background: Simplify the size label
2010-12-14 18:58:22 +00:00
Bastien Nocera
ec1704f799
background: Right-align the wallpaper size
2010-12-14 18:50:23 +00:00