Commit graph

56 commits

Author SHA1 Message Date
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
Bastien Nocera
26992d1943 background: Add missing SVG file 2010-12-14 18:33:54 +00:00
Bastien Nocera
39f452afee background: Follow mockups
Add icon to represent slideshows, always show a name for the
currently set background on startup, show whether a background
is a slideshow, and its pixel size if available.
2010-12-14 18:27:11 +00:00
Bastien Nocera
855b7830d3 background: Make ensure_bg() actually change filenames
Otherwise you might call it as many times as you want, the
filename won't be changed for it, or its metadata (such as whether
it is a slideshow) updated.
2010-12-14 18:27:10 +00:00
Bastien Nocera
adfe6ef8fc background: Fix broken preview
The style wasn't set properly on startup, and then incorrectly
applied to the preview because the numbering of the items in
the style-liststore doesn't match the GDesktopBackgroundStyle
enum 1-to-1.
2010-12-14 18:27:10 +00:00
Bastien Nocera
44fbef70a2 background: Load ~/Pictures asynchronously
Using the new gdk-pixbuf helper functions in 2.23.0.

https://bugzilla.gnome.org/show_bug.cgi?id=635601
2010-12-13 16:19:58 +00:00
Bastien Nocera
9580be8d17 background: Avoid re-querying the GFileInfo
If we already have it from enumerating the Pictures directory. Saves
us from doing sync queries in certain cases.
2010-12-13 15:30:22 +00:00
Bastien Nocera
a1fa500dc5 background: Make the treeview a little wider
So that we can fit 3 thumbnails side-by-side, even when we use a
large scrollbar width.
2010-12-13 15:29:15 +00:00
William Jon McCann
d5642cf221 background: load wallpapers in an idle
So we don't block the construction.
2010-11-21 22:06:26 -05:00
William Jon McCann
d51d16fddf various: use a consistent and slightly larger border width for panels 2010-11-21 19:33:34 -05:00
Bastien Nocera
032d6326d5 panels: Add keywords to all the panels we ship
https://bugzilla.gnome.org/show_bug.cgi?id=399754
2010-11-17 16:02:47 +00:00
Andreas Proschofsky
32f59e6df5 all: Fix build for latest gnome-desktop changes
https://bugzilla.gnome.org/show_bug.cgi?id=634859
2010-11-14 22:12:59 +00:00
Yanko Kaneti
2deff133ff background: one last old gnome_bg remnant 2010-11-10 10:49:44 +01:00
Tomas Bzatek
55a02383f2 background: Last bits of new gnome_bg API porting
https://bugzilla.gnome.org/show_bug.cgi?id=625899
2010-11-08 13:48:16 +01:00
William Jon McCann
7ecc6029cc [background] Don't use iter if you didn't get one 2010-11-01 19:07:03 -04:00
Rodrigo Moya
12c22f1156 background: Convert by hand the enum values to their strings 2010-10-14 15:24:00 +02:00
Rodrigo Moya
bb26cd2e51 background: Use gdesktop-settings-schemas enums all over 2010-10-14 14:57:35 +02:00
Rodrigo Moya
7cc99ddc87 background: Use g_settings_get/_set_enum for background options and shading 2010-10-14 13:30:29 +02:00
Rodrigo Moya
2b5a938d26 background: Port to GSettings 2010-10-14 13:01:31 +02:00
William Jon McCann
a7e91dc1da Add missing CFLAGS to fix build 2010-10-07 17:13:30 -04:00
Matthias Clasen
2083f0a045 Link against libxml where appropriate
The default-applications and background capplets use libxml,
so link against it.
2010-10-07 12:54:28 -04:00
Cosimo Cecchi
6dfc24e3e6 Make flickr background setting not segfault. 2010-10-06 12:31:03 +02:00
William Jon McCann
533b044dc9 A couple more updates use the GTK3 drawing APIs 2010-10-02 17:45:40 -04:00
Bastien Nocera
4ec7801cbb shell: Show settings without a panel in Other
Add the X-GNOME-Settings-Panel category. You need a control-center
panel to add this to your desktop file. Desktop entries with this
category but that aren't actually panels will be ignored (no cheating).

If the desktop file for your settings isn't a panel, it will show in the
"Other" section of the control-center shell

https://bugzilla.gnome.org/show_bug.cgi?id=630998
2010-09-30 13:48:29 +01:00
Kalev Lember
c55ec39f81 background: Come up with 'Wallpapers' selected and displayed
https://bugzilla.gnome.org/show_bug.cgi?id=630417
2010-09-29 12:29:30 +01:00
Bastien Nocera
e3bbc6eedb background: use symbolic name for columns
Rather than hard-code numbers.
2010-09-21 16:08:53 +01:00
Bastien Nocera
7854262a93 background: add FIXME for unused function 2010-09-20 18:01:27 +01:00
Bastien Nocera
2db5695c9f background: remove unused variables 2010-09-20 18:00:19 +01:00
Bastien Nocera
6e7b3774c0 Only link the panels that require it to gnome-desktop
Only the display and background panels use gnome-desktop,
the shell shouldn't need to require it.
2010-09-20 17:56:23 +01:00
Thomas Wood
ce8cd97754 background: implement new UI design from Jakub Steiner 2010-08-25 19:18:05 +01:00
Thomas Wood
f41e3268df background: hide the placement options only when a background is selected
Only update the visibility of the placement options when a background is
selected, not when the source is selected.
2010-08-13 17:06:19 +01:00