Rodrigo Moya
aa850977a5
background: Allow SVG image files as background
...
https://bugzilla.gnome.org/show_bug.cgi?id=648764
2011-08-30 10:31:23 +02:00
Bastien Nocera
dd1b9d8336
background: Add "swap" button for gradients
...
https://bugzilla.gnome.org/show_bug.cgi?id=34498
2011-07-14 16:38:22 +01:00
Michael Terry
0a8669a5b5
Add Unity to OnlyShowIn fields
...
https://bugzilla.gnome.org/show_bug.cgi?id=653661
2011-06-30 12:44:52 +01:00
Matthias Clasen
4838efab11
Background: Improve a11y of wallpaper list
...
Add an invisible text cell renderer to have the text spoken
by orca.
2011-05-16 00:12:44 -04:00
Matthias Clasen
dc1773866b
Background: Improve a11y of inline toolbar
...
Give translatable labels to the add/remove buttons; while these
are not shown in the ui, orca reads them.
2011-05-15 23:52:13 -04:00
Bastien Nocera
58e4fab6be
background: Allow adding multiple images
...
https://bugzilla.gnome.org/show_bug.cgi?id=647053
2011-04-08 13:41:47 +01:00
Cosimo Cecchi
7b7f67fbae
background: fix a compilation warning
2011-04-05 12:08:42 -04:00
Bastien Nocera
e46c3267ba
background: Don't assert() for typos in XML files
...
https://bugzilla.gnome.org/show_bug.cgi?id=646250
2011-03-31 13:08:29 +01:00
Cosimo Cecchi
7cef6dc582
background: don't use the GnomeBG thumbnails for the preview area
...
Instead, use gnome_bg_draw(), which renders the preview directly at the
desired size.
https://bugzilla.gnome.org/show_bug.cgi?id=646180
2011-03-30 10:40:27 -04:00
Bastien Nocera
d361022907
background: Don't show errors when loading default bg
...
Check whether the file exists so we don't get warnings
when loading the default wallpaper on startup.
https://bugzilla.gnome.org/show_bug.cgi?id=646056
2011-03-29 16:39:40 +01:00
Bastien Nocera
470f0dd13a
background: Make icon list smaller on netbooks
...
The default treeview is quite tall by default, and with the addition
of the shell's toolbar, the titlebar and the GNOME shell panel,
the background panel would be too tall for netbook computers.
This works around the issue by setting a smaller height request
for the icon list when the screen on which the panel will be shown
are no taller than 768 pixels.
https://bugzilla.gnome.org/show_bug.cgi?id=645649
2011-03-26 16:36:59 -04:00
Cosimo Cecchi
92c3f6dd61
all: set the 'inline-toolbar' style class to toolbars which need it
...
https://bugzilla.gnome.org/show_bug.cgi?id=645059
2011-03-17 15:09:09 -04:00
Bastien Nocera
73f9bffb3c
background: Use new picture-uri GSettings key
...
https://bugzilla.gnome.org/show_bug.cgi?id=633983
2011-03-09 14:07:33 +00:00
Rodrigo Moya
55d908a775
background: Fix generation of autogenerated files on distcheck
2011-02-22 16:20:58 +01:00
Thomas Wood
9d1d8534b8
background: only reset item_added_id when the source is removed
...
Make sure item_added_id is set to zero only when the idle source id is
actually removed. This ensures that the source is removed during finalize
if it still exists when the object is destroyed.
2011-02-19 17:25:20 +00:00
Thomas Wood
e2f944a66a
configure: Group pkg-config checks based on how they are used
...
Group the pkg-config checks so that pkg-config can remove duplicated CFLAGS
and LIBS.
https://bugzilla.gnome.org/show_bug.cgi?id=636593
2011-02-19 16:46:26 +00:00
Alexander Larsson
4e06cd6236
Fix includes for gdesktop-enums.h
...
The file is in $incdir/gsettings-desktop-schemas/gdesktop-enums.h,
and pkg-config returns -I$incdir/gsettings-desktop-schemas, so the
right way is to #include <gdesktop-enums.h> which is what other modules
do.
https://bugzilla.gnome.org/show_bug.cgi?id=642369
2011-02-17 20:59:55 +01:00
Bastien Nocera
18a76d2dff
background: Remove unused GConf include
2011-02-16 01:24:49 +00:00
Bastien Nocera
3ae9e15ebf
background: Fix initial state when loading gradients
...
And fix saving as well, as we were saving from the item,
instead of the current_background, thus losing name, etc.
2011-02-14 19:49:27 +00:00
Bastien Nocera
e4efd61cfe
background: Fix comparisons of gradients
2011-02-14 19:49:07 +00:00
Bastien Nocera
8be746af8d
background: Add arrows for the gradients
2011-02-14 19:48:38 +00:00
Bastien Nocera
558d6752f9
background: Add/Remove features for panel
...
Remove unused "backgrounds-liststore" object from .ui file, and
add remove button.
Make remove button sensitive for files that were copied to the cache,
and implement remove itself.
Remember needs_download when copying CcBackgroundItem objects.
Make "Add" button unsensitive in chooser when background was
already added to the list, to avoid duplicates.
Ellipsise background label.
2011-02-14 19:11:20 +00:00
Bastien Nocera
a1dd22ea17
background: Add/Remove features in pictures source
...
Remember added files, so they cannot be added twice to the pictures
store (using UUID of the URI as key).
Implement removing items from the list.
Fix memory leaks.
2011-02-14 19:11:20 +00:00
Bastien Nocera
db0b5b1195
background: Use objects for CcBackgroundItem storage
...
So that we don't need to unref the items in the list store by hand.
2011-02-14 19:11:20 +00:00
Bastien Nocera
7aca4e1ab2
background: Add support for source-url in XML
2011-02-14 19:11:20 +00:00
Bastien Nocera
f77d23f35a
background: Add "needs-download" property
...
Rather than relying on source-url being NULL, which would mean
we can't then save it.
2011-02-14 19:11:20 +00:00
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
4809be2b3f
background: Implement 'Add' button
2011-02-14 15:04:55 +00:00
Matthias Clasen
81ae3f4466
background: Avoid resizing the drawing area if controls are hidden
2011-02-14 09:31:38 -05:00
Bastien Nocera
bad4e389ef
background: Avoid warning when XML file doesn't exist
2011-02-14 14:28:46 +00:00
Bastien Nocera
8eace42d8a
background: Update preview correctly for custom bgs
...
When we're creating our new item for custom wallpapers, make
sure that we update the ->current_background, otherwise we'll
still be displaying the previous configuration.
2011-02-14 13:26:40 +00:00
Bastien Nocera
8bca545902
background: Fix errors when saving current wp
...
As report by Matthias Clasen
2011-02-14 13:26:39 +00:00
Bastien Nocera
78e16e52f4
background: Add first pass at "add" button
...
With a hard-coded filename for now.
2011-02-14 13:26:39 +00:00
Bastien Nocera
e6cb9f5b12
background: Add ability to add a single file
...
To the pictures backend.
2011-02-14 13:26:39 +00:00
Bastien Nocera
c32b0da4e4
background: Only accept URIs when creating items
2011-02-14 13:26:39 +00:00
Bastien Nocera
715474fb30
background: Update comment
2011-02-14 13:26:39 +00:00
Bastien Nocera
1933bfdf17
background: Use correct cache directory
2011-02-14 13:26:39 +00:00
Bastien Nocera
2866a70f6a
background: Don't show an error if no cache dir
...
We don't want to see errors if the directory doesn't exist.
2011-02-14 13:26:39 +00:00
Bastien Nocera
9ac7a0aa32
background: Remove code for impossible situation
...
We can never have placement be "none" as we create new items
with "scaled" by default. So just set "zoom" all the time.
2011-02-14 13:26:39 +00:00
Bastien Nocera
87f05ef0ed
background: Also look for items in ~/.cache
...
We'll be saving items in ~/.cache/gnome-control-center/backgrounds
for the Flickr and manual additions of items, so look there as well.
2011-02-14 13:26:39 +00:00
Bastien Nocera
575d8d2463
background: Add "add" button
...
To allow adding arbitrary files to the list.
2011-02-14 13:26:39 +00:00
Bastien Nocera
fbe3926ed3
background: Try our hardest to remember the last bg
...
Save the current background as XML, and try to load it back up
when starting. If the saved background pretty much matches what we
have in GSettings, then it's the same item, and we try and remember
all the metadata, including the name.
https://bugzilla.gnome.org/show_bug.cgi?id=630417
2011-02-14 09:44:05 +00:00
Bastien Nocera
ecdcb2c235
background: Implement saving a single item
2011-02-14 09:44:05 +00:00
Bastien Nocera
329aabf0b1
background: Set the shading for pictures
2011-02-14 09:44:05 +00:00
Bastien Nocera
2a146db805
background: Handle no-flags from saved config
2011-02-14 09:44:05 +00:00
Bastien Nocera
5517949b4e
background: Treat empty URI as NULL
...
So that comparisons are easier.
2011-02-14 09:44:05 +00:00
Bastien Nocera
758242bb8e
background: Add function to compare 2 bg items
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
7448e7698e
background: Add more info to _dump() function
...
Also print out the placement and shading of the background.
2011-02-14 09:44:05 +00:00
Bastien Nocera
d3eb413b24
background: Move settings loading
...
Into a separate function, so that we can extend it.
2011-02-14 09:44:05 +00:00