Commit graph

280 commits

Author SHA1 Message Date
Michael Wood
09baf812ea background: Offload the sorting of the initial list of files
Sorting after the image scale for each image causes the list to change
as you're viewing it depending on the size of the image.
This can be quite jarring visually.

https://bugzilla.gnome.org/show_bug.cgi?id=691800
2013-03-01 11:13:00 +00:00
Allan Day
c2ca6faa8f background: Update panel comments
Very few of the panel comments provide information that is very
useful. Update them to supplement the panel descriptions - this
will make the search results more helpful.

https://bugzilla.gnome.org/show_bug.cgi?id=694110
2013-02-19 10:41:43 +01:00
Bastien Nocera
3840ef6539 background: Fix compile-time warning with format 2013-01-31 17:02:11 +01:00
Michael Wood
c3446cccdc background: Sort Pictures in order of most recently modified
In the picture browser you see the most recently modified pictures
first.

https://bugzilla.gnome.org/show_bug.cgi?id=691800
2013-01-31 11:46:07 +01:00
Bastien Nocera
f959d3072b background: Avoid accessing the panel if cancelled
If the background panel was closed, we shouldn't try to access
panel's internals as it's already been freed.

https://bugzilla.redhat.com/show_bug.cgi?id=880859
2013-01-30 19:18:07 +01:00
Bastien Nocera
681aed6f9c background: Fix error checking in on_screenshot_finished()
This could create crashers when no errors were detected, but
either the D-Bus call or loading the pixbuf return NULL.

Conflicts:
	panels/background/cc-background-panel.c
2013-01-30 19:18:07 +01:00
Bastien Nocera
8d99d1c7c5 background: Update for gnome-shell Screenshot API changes
https://bugzilla.gnome.org/show_bug.cgi?id=692849
2013-01-30 18:05:40 +01:00
Bastien Nocera
39d7842ebe background: Don't access the panel object in _finish()
We shouldn't access the panel object as we don't know whether
the memory is still valid or the panel has gone away and was
freed.
2013-01-15 08:27:11 +01:00
Cosimo Cecchi
8d5f2908b5 panels: add --sourcedir=$(srcdir) when generating resource list
Like b8e93fb333 but for all panels.
2013-01-07 16:23:57 -05:00
Cosimo Cecchi
e30613e355 background: use a GResource for GtkBuilder UI definition
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 10:57:05 +01:00
Matthias Clasen
3d27d8caaf shell: Fittsify panels
Make it possible for panels to go all the way to the edge of the
shell. This is particularly important for panels that scroll, such
as the new power panel. All other panels are changed to compensate
for the loss of external padding.

https://bugzilla.gnome.org/show_bug.cgi?id=691229
2013-01-07 10:51:29 +01:00
Bastien Nocera
e419ee7d4e panels: Remove unused X-GNOME-Settings-Panel key 2012-12-11 17:09:04 +01:00
Bastien Nocera
3686cf7eb8 shell: Make all control-center plugins static
This makes loading faster, with less I/O, avoids unnecessary
code duplication (around 1k lines shaved), and ensures that
all the panels link and work appropriately.

By the same token, it will stop external panels from being
created, and loaded.

https://bugzilla.gnome.org/show_bug.cgi?id=690036
2012-12-11 17:07:39 +01:00
Bastien Nocera
a4cf283937 background: Fix not having 3 columns in high contrast
Increase the width slightly to 860 from 850.

https://bugzilla.gnome.org/show_bug.cgi?id=683499
2012-11-14 23:07:16 +01:00
Michael Meeks
527945b29e re-license GPLv2-only code to GPLv2+ permission from SUSE/RH legal
cf. https://bugzilla.gnome.org/show_bug.cgi?id=681834
2012-11-12 15:57:09 +00:00
Jeremy Bicha
e32494f2f0 Show Printers & Region panels in Unity but hide Background
Ubuntu plans to fork a separate Appearance panel this cycle so
that Gnomebuntu can use the GNOME Background panel.

I believe Ubuntu will try to use the Printers and Region & Language
panels instead of system-config-printer & language-selector

https://bugzilla.gnome.org/show_bug.cgi?id=687258
2012-10-31 06:50:05 -04:00
Bastien Nocera
0d9fd1005f background: Fix crash when exiting panel too quickly
The background capture would still be on-going, and we would
crash poking at the now gone panel.

https://bugzilla.redhat.com/show_bug.cgi?id=866973
2012-10-17 09:40:24 +02:00
Bastien Nocera
e06657e7da background: Handle copy cancellation correctly
Make sure to avoid poking at the panel when the file copy
is cancelled.
2012-10-17 09:40:23 +02:00
Bastien Nocera
0e037561c3 background: Optimise preview for the usual shell layout
The area of screen to capture would be a ribbon at the top, so just
capture that instead of the whole screen, just to clear it afterwards.

https://bugzilla.gnome.org/show_bug.cgi?id=684993
2012-10-10 18:56:58 +02:00
Bastien Nocera
aef03317e8 background: Fix distcheck 2012-10-08 18:31:05 +02:00
Bastien Nocera
5b6385067d background: Fix clearing too much from the background 2012-09-30 05:43:06 +02:00
Jakub Steiner
f49261bb8d background: use a lighter texture for solid colors.
https://bugzilla.gnome.org/show_bug.cgi?id=682612
2012-09-28 01:51:22 +02:00
Bastien Nocera
97af01b56f background: Fix preview when primary is not the leftmost
https://bugzilla.gnome.org/show_bug.cgi?id=684985
2012-09-28 01:31:02 +02:00
Bastien Nocera
f4a8e0a73c background: Add debug to get_screenshot_async()
https://bugzilla.gnome.org/show_bug.cgi?id=684985
2012-09-27 20:37:01 +02:00
Bastien Nocera
112edc7cf7 background: Capture the primary monitor
Not monitor 0.

https://bugzilla.gnome.org/show_bug.cgi?id=684985
2012-09-27 20:36:35 +02:00
William Jon McCann
312a5dfe87 Set pixbuf renderer stock size to 32 so emblems render at 16px
https://bugzilla.gnome.org/show_bug.cgi?id=682123
2012-09-10 09:47:48 -04:00
Jakub Steiner
dbff39026b background: Use a varied color palette
The original palette for color selection was a bit flat.
The new selection includes 9 "fun" colors that are highly
saturated and people would be initialy drawn to select, as well
as 6 colors that are more appropriate wallpapers and are good to
use for extended periods of time.

https://bugzilla.gnome.org/show_bug.cgi?id=682556
2012-09-05 18:00:41 +01:00
Rico Tzschichholz
ddf8c56caf background: Add missing include
bg_pictures_source_get_*_path is defined in bg-pictures-source.h
2012-08-22 12:52:29 +02:00
Ray Strode
b0e7a5efa8 panels: add register macro
Bastien says he doesn't like the blank class_finalize
functions in every panel and he would like a wrapper
macro to hide them.

This commit does that.
2012-08-21 14:32:33 -04:00
William Jon McCann
4ee558bdc8 background: Update the preview when the settings change
They may be change from outside (eg. Nautilus).

https://bugzilla.gnome.org/show_bug.cgi?id=676539
2012-08-17 17:57:54 -04:00
William Jon McCann
18b3486a06 background: Remove sheen overlay
The metaphor was valid when we used a monitor to display the preview
but now it doesn't work. There is no glass to reflect light. It
distracts from the preview and may look like a defect.

https://bugzilla.gnome.org/show_bug.cgi?id=676539
2012-08-17 17:57:46 -04:00
William Jon McCann
79ec684fa4 background: New background panel design
Implement a new design for the wallpaper selection.

https://bugzilla.gnome.org/show_bug.cgi?id=676539
2012-08-17 17:57:27 -04:00
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