Commit graph

4091 commits

Author SHA1 Message Date
Bastien Nocera
b3be07609a panels: Fix truncated panel names for larger fonts
Note that this fix will not automatically fix translations, which will
need to add soft-hyphens (U+00AD) to their translations themselves, and
will not fix larger fonts for which the split up syllables end up
being bigger than the maximum text width.

It's the best we can do without redesigning the Settings shell, which is
already something planned.

https://bugzilla.gnome.org/show_bug.cgi?id=647087#c13
2016-04-07 16:06:35 +02:00
Timm Bäder
9a43229ec2 mouse panel: Remove superfluous GtkListBoxRow
The GtkBox>GtkListBoxRow>GtkListBox hierarchy is unnecessary, also
remove the GtkSeparator from the GtkListBox and move it into the GtkBox,
so the width matches that of the GtkListBox (it missed 2px on either
side before).

https://bugzilla.gnome.org/show_bug.cgi?id=764503
2016-04-06 10:56:05 +02:00
Timm Bäder
645330853b mouse panel: Make all listbox rows unactivatable
Activating them doesn't do anything, so don't make them look like it
does.

https://bugzilla.gnome.org/show_bug.cgi?id=764503
2016-04-06 10:56:05 +02:00
Cosimo Cecchi
b1e2bc6f04 power: show "Suspend & Power Off" section only when relevant
We now ask logind whether the system can suspend or hibernate, and
change the visibility of the items in the panel based on that.

Based on a patch by Mario Sanchez Prada <mario@endlessm.com>.

https://bugzilla.gnome.org/show_bug.cgi?id=764508
2016-04-05 20:33:13 -07:00
Cosimo Cecchi
0e54ee82c8 power: move function call into section method
This function logically belongs into the section constructor. Move it
there.

https://bugzilla.gnome.org/show_bug.cgi?id=764508
2016-04-05 20:29:13 -07:00
Cosimo Cecchi
eb94d06c90 power: remove unneeded call
This function is already called from add_suspend_and_power_off_section()
a few lines above.

https://bugzilla.gnome.org/show_bug.cgi?id=764508
2016-04-05 20:29:12 -07:00
Rui Matos
a7da5a2727 mouse: Detect and warn if we're running on the synaptics driver
Since we don't support the synaptics driver anymore we shouldn't show
the touchpad section in that case. In addition, emit a warning so that
this system mis-configuration is easier to diagnose.

https://bugzilla.gnome.org/show_bug.cgi?id=764257
2016-04-05 21:04:57 +02:00
Rui Matos
0bc4b21bb2 mouse: Consolidate touchpad section visibility code
Do it all in a single place. No functional changes.

https://bugzilla.gnome.org/show_bug.cgi?id=764257
2016-04-05 21:04:57 +02:00
Rui Matos
727d2284f2 mouse: Use Gdk instead of Xlib for touchpad capabilities check
Just use X API where needed.

https://bugzilla.gnome.org/show_bug.cgi?id=764257
2016-04-05 21:04:57 +02:00
Rui Matos
8f7e99a034 mouse: Rename touchpad capabilities check API
It's not about synaptics anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=764257
2016-04-05 21:04:57 +02:00
Rui Matos
6a86c7e957 mouse: Drop unused synaptics capabilities check
We don't support synaptics anymore so checking for this is useless.

https://bugzilla.gnome.org/show_bug.cgi?id=764257
2016-04-05 21:04:57 +02:00
Rui Matos
d3252400a9 mouse: Fix initial widget visibility
We're showing all widgets on panel start up instead of selectively
hiding non-relevant widgets since the gtk_widget_show_all() on the
stack after creating the panel widget and adding it to the stack
overrides the visibility decisions done while constructing the panel.

https://bugzilla.gnome.org/show_bug.cgi?id=764257
2016-04-05 21:04:57 +02:00
Roddy Shuler
73dcc0fb7d background: Replace octal code with literal UTF-8 character
Apparently due to a recent upgrade to gettext, the octal code was not
being processed properly in generating the .pot file.

https://bugzilla.gnome.org/show_bug.cgi?id=764318
2016-04-05 10:16:33 -07:00
Cosimo Cecchi
47dcfee83b display: add option to enable and disable overscan compensation
Adds a switch that allows to control overscan compensation, when the
driver supports it.

Based on a patch by Tomeu Vizoso <tomeu.vizoso@collabora.com>

https://bugzilla.gnome.org/show_bug.cgi?id=725135
2016-04-05 10:14:53 -07:00
Jonathan Kang
28c54f3d55 network: Fix empty Wifi list
Add a callback function for signals "access-point-added" and
"access-point-removed" to update the Wifi list.

https://bugzilla.gnome.org/show_bug.cgi?id=709641
2016-04-05 14:15:20 +08:00
Cosimo Cecchi
a630474cc1 background: refactor code into separate function
Split out the creation of a file monitor in a separate function.

https://bugzilla.gnome.org/show_bug.cgi?id=764504
2016-04-04 21:49:40 -07:00
Juan A. Suarez Romero
675ac22c44 network: use VPN plugin paths as specified in the .name files
Since LIBDIR of gnome-control-center and the VPN plugins aren't
necessarily the same, use the paths as specified by the VPN plugins and
only reconstruct the path if it is not absolute or we fail to load the
plugin.

Patch from Debian package, by Michael Biebl <biebl@debian.org>

https://bugzilla.gnome.org/show_bug.cgi?id=764509
2016-04-04 21:46:33 -07:00
Rui Matos
e45b5c8a38 network/vpn: Fix the options button icon alignment
No idea why this was set but it's clearly wrong and this property has
even been deprecated in GtkButton since 3.14 .

https://bugzilla.gnome.org/show_bug.cgi?id=764479
2016-04-02 17:33:55 +02:00
Rui Matos
d8d0c71318 network/device-wifi: Silence a critical when creating a connection 2016-04-01 16:08:28 +02:00
Bastien Nocera
97c2a880c8 wacom: Update from gnome-settings-daemon 2016-03-24 17:01:37 +01:00
Bastien Nocera
70672c3658 sharing: Fix "format not a string literal" error
https://bugzilla.gnome.org/show_bug.cgi?id=764150
2016-03-24 17:01:37 +01:00
Bastien Nocera
afc0a1b142 power: Translate the "When the Power Button is pressed" drop-down
https://bugzilla.gnome.org/show_bug.cgi?id=764115
2016-03-24 14:10:05 +01:00
Bastien Nocera
529b29cae9 display: Remove duplicate non-ATSC/NTSC rates from the list
When a mode has 2 very close refresh rates such as 59.94Hz and 60Hz,
most of the time, we'll want the 59.94Hz version.

Hide the "PC" 60Hz version and only show the 59.94Hz version in those
cases, and mark the frequency as "60Hz (ATSC)" so that those
knowledgeable know that it's really 59.94Hz, and doesn't confuse those
who expect rates to be multiple of 30Hz or 25Hz.

See also https://en.wikipedia.org/wiki/NTSC#Lines_and_refresh_rate

Note that we also do this for half and double that rate, eg. close to
~30Hz and ~120Hz.

https://bugzilla.gnome.org/show_bug.cgi?id=655041
2016-03-17 14:47:18 +01:00
Rui Matos
3814c9b397 display: Add a way to specify the monitor refresh rate
This adds an extra frequency combo box that allows users to choose a
frequency for a given resolution.

https://bugzilla.gnome.org/show_bug.cgi?id=655041
2016-03-17 14:47:17 +01:00
Felix Zhang
74ff9c98d0 color: Mark 'Add Profile' dialog title as translatable
Not a string break, as the translatable string already exists.

Signed-off-by: Richard Hughes <richard@hughsie.com>
2016-03-15 12:42:47 +00:00
Zeeshan Ali (Khattak)
48c66a5dad privacy: Only disable apps switches
Let's not disable the whole Applications section when "Location Services"
are disabled but rather only the individual app permission switches.

https://bugzilla.gnome.org/show_bug.cgi?id=763259
2016-03-11 13:42:13 +00:00
Zeeshan Ali (Khattak)
d0c1ed6486 privacy: Vertically center "Location Services" label
https://bugzilla.gnome.org/show_bug.cgi?id=763259
2016-03-11 13:42:13 +00:00
Zeeshan Ali (Khattak)
a2ab6d47cd privacy: Better description for 'Location Services'
New string from Allan Day.

https://bugzilla.gnome.org/show_bug.cgi?id=763259
2016-03-11 13:42:13 +00:00
Zeeshan Ali (Khattak)
76e3a53b2d privacy: Fix margins around location dialog widgets
https://bugzilla.gnome.org/show_bug.cgi?id=763259
2016-03-11 13:42:13 +00:00
Michael Catanzaro
3496b0594a printers: Manual ppd selection dialog should have a parent
https://bugzilla.gnome.org/show_bug.cgi?id=755713
2016-03-10 13:54:17 -06:00
Bastien Nocera
d6765b0378 wacom: Use the fully qualified D-Bus name for the OSD
So that we don't end up seeing the fallback button mapping dialogue when
running gsd-test-wacom.
2016-03-10 17:19:30 +01:00
Bastien Nocera
afcfa995fc bluetooth: Better debug output
With the output using the name of the D-Bus variables, rather than the
local variable name.
2016-03-10 11:53:45 +01:00
Felipe Borges
16d32c4e33 printers: renew cups subscriptions asynchronously
https://bugzilla.gnome.org/show_bug.cgi?id=748336
2016-03-10 11:04:27 +01:00
Debarshi Ray
cc144a0707 online-accounts: Fix the add account dialog's size with newer GTK+
We should be pairing gtk_window_get_size with
gtk_window_set_default_size to avoid inconsistencies between the size
reading and setting code. eg., in recent GTK+ versions,
gtk_window_get_size and gtk_widget_set_size_request differ in their
interpretation of the CSD chrome.

However, gtk_window_set_default_size didn't work with non-resizable
GtkWindows, until now.

https://bugzilla.gnome.org/show_bug.cgi?id=762548
2016-03-09 13:47:27 +01:00
Debarshi Ray
84b65ddea0 wacom: Use the right API for setting the window width
We should be pairing gtk_window_get_size with
gtk_window_set_default_size to avoid inconsistencies between the size
reading and setting code. eg., in recent GTK+ versions,
gtk_window_get_size and gtk_widget_set_size_request differ in their
interpretation of the CSD chrome.

However, gtk_window_set_default_size didn't work with non-resizable
GtkWindows, until now.

https://bugzilla.gnome.org/show_bug.cgi?id=762548
2016-03-09 13:47:09 +01:00
Debarshi Ray
628f34b259 background: Ensure that the chooser is tall enough with newer GTK+
We should be pairing gtk_window_get_size with
gtk_window_set_default_size to avoid inconsistencies between the size
reading and setting code. eg., in recent GTK+ versions,
gtk_window_get_size and gtk_widget_set_size_request differ in their
interpretation of the CSD chrome.

However, gtk_window_set_default_size didn't work with non-resizable
GtkWindows, until now.

https://bugzilla.gnome.org/show_bug.cgi?id=762548
2016-03-09 13:47:09 +01:00
Felipe Borges
72591c26ba printers: drop border of the "Add" new printer button
https://bugzilla.gnome.org/show_bug.cgi?id=763225
2016-03-07 14:00:30 +01:00
Zeeshan Ali (Khattak)
e7509321a5 privacy: Per-app location access control
Latest gnome-shell (3.19.91) now asks user if they'd want to allow the
application to gain access to their location information when an
application tries to access this information. The user's choice is saved
in xdg-app's permission store and user can no longer can change their
mind about this later on. Hence the need to provide these per-application
controls in control-center.

https://bugzilla.gnome.org/show_bug.cgi?id=761245
2016-03-03 16:07:58 +00:00
Zeeshan Ali (Khattak)
d77ec8e821 privacy: Indicate location service being used
As per the new mockup, we should indicate when location service is in
use:

https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/system-settings/privacy/privacy-3.20.png

https://bugzilla.gnome.org/show_bug.cgi?id=761245
2016-03-03 16:07:58 +00:00
Zeeshan Ali (Khattak)
5ebf3d8ddf common: Fix codying-style in cc_util_get_smart_date()
https://bugzilla.gnome.org/show_bug.cgi?id=761245
2016-03-03 16:07:58 +00:00
Zeeshan Ali (Khattak)
3ca5b11d7a privacy: Move "Location Services" into a dialog
We are about to add per-application settings for geolocation access and
they won't really fit well in the main view. This is as per design
mockup:

https://dl.dropboxusercontent.com/u/5031519/privacy/privacy-3.20.png

https://bugzilla.gnome.org/show_bug.cgi?id=761245
2016-03-03 16:07:58 +00:00
Zeeshan Ali (Khattak)
afebec5d9a common: Move get_smart_date() to common utils
And rename it to cc_util_get_smart_date().

In a following patch, we'll need to use it from privacy panel.

https://bugzilla.gnome.org/show_bug.cgi?id=761245
2016-03-03 16:07:58 +00:00
Felipe Borges
dc7b78ca42 printers: get printer job attributes async
https://bugzilla.gnome.org/show_bug.cgi?id=748336
2016-03-03 16:05:56 +01:00
Felipe Borges
9f9c63fe8d printers: cancel cups subscriptions asynchronously
https://bugzilla.gnome.org/show_bug.cgi?id=748336
2016-03-02 17:16:15 +01:00
Sebastien Bacher
ecaafb11bc user-accounts: Don't link directly to GStreamer
The panel uses cheese and not GStreamer directly

https://bugzilla.gnome.org/show_bug.cgi?id=761915
2016-03-02 11:46:40 +01:00
Bastien Nocera
82fce2e0ff universal-access: Fix empty panel with newer GTK+
There's very few chances that the universal-access will fit in the
minimum height of the shell for panels, so just nuke that.

This also fixes the panel taking 1px in height until we switch away from
it and back to it.

https://bugzilla.gnome.org/show_bug.cgi?id=761939
2016-03-01 16:17:08 +01:00
Bastien Nocera
7229af6bdf display: Bump the minimum resolution shown
There's really no point showing a resolution that's smaller than the
fixed width of the shell, and isn't the preferred resolution for the
screen either. This stops the problematic 720x576 resolution showing on
an HD screen.
2016-03-01 16:05:04 +01:00
Felipe Borges
1d365545cf printers: set current page async
https://bugzilla.gnome.org/show_bug.cgi?id=748336
2016-02-25 16:14:53 +01:00
Felipe Borges
0a7cfa47fb printers: do async connection test during launch of panel
https://bugzilla.gnome.org/show_bug.cgi?id=748336
2016-02-25 16:14:37 +01:00
Felipe Borges
9dd58c0f77 printers: make sure the printer job state_string is initialized
https://bugzilla.gnome.org/show_bug.cgi?id=762630
2016-02-25 13:56:37 +01:00