Luca Ferretti
4f935ad4bd
backgrounds: add translation context for background sytles
2012-06-20 11:40:50 +02:00
Jon McCann
46186a5f02
background: Escape wallpaper filename before display
...
https://bugzilla.gnome.org/show_bug.cgi?id=673015
2012-06-14 18:07:56 +01:00
Cosimo Cecchi
761f5f0b8b
background: always pass a cancellable down to I/O operations
...
So they will be properly cancelled when the panel is disposed.
Also, check early if the operation was cancelled, since it's not safe to
assume the data of the callback is valid anymore before that point.
https://bugzilla.gnome.org/show_bug.cgi?id=672572
2012-06-11 09:16:44 -04:00
Florian Müllner
f8637475ba
background: Add get_help_uri() implementation
...
https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:37 +02:00
Bastien Nocera
3d79e1174e
background: Only show the image types we support
...
And add image/bmp to those types.
https://bugzilla.gnome.org/show_bug.cgi?id=669960
2012-05-17 18:12:49 +01:00
Jon McCann
0bb2e2142a
background: Sort Pictures folder by name
...
https://bugzilla.gnome.org/show_bug.cgi?id=672925
2012-04-26 11:13:12 +01:00
Bastien Nocera
a3055b3202
background: Ignore screenshots
...
Don't list screenshots coming from gnome-screenshot in our
Pictures source.
https://bugzilla.gnome.org/show_bug.cgi?id=672925
2012-04-26 11:07:08 +01:00
Florian Müllner
4cd7b6c6dc
.desktop: Drop prefix from X-GNOME-Keywords
...
The field has now been included in the spec, so use the standardized
name.
2011-12-19 16:26:40 +01:00
Bastien Nocera
6665b60422
panels: Update for Shell API changes
2011-11-07 18:03:14 +00:00
Matthias Clasen
aa2bd98aea
Background: Add accessible labels
...
Image-only controls work much better with ATs if they have
labels that can e.g. be read in orca.
https://bugzilla.gnome.org/show_bug.cgi?id=663320
2011-11-03 09:16:22 -04:00
Bastien Nocera
ea7430d03e
background: Force a toolbar style
2011-10-25 16:33:14 +01:00
Ming Han Teh
cdfe63a3b2
background: Added D'n'D support for adding wallpapers.
...
https://bugzilla.gnome.org/show_bug.cgi?id=655375
2011-10-06 09:47:09 +01:00
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