Commit graph

171 commits

Author SHA1 Message Date
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
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