Commit graph

4111 commits

Author SHA1 Message Date
Rui Matos
9b5329f4a8 mouse: Make touchpad capability checking on wayland work as intended
We need to set the out variables otherwise the intended semantics as
documented by the comment aren't enforced.

https://bugzilla.gnome.org/show_bug.cgi?id=765879
2016-05-02 18:23:54 +02:00
Bastien Nocera
5c10ce45b8 panels: Fix translators comments being truncated
Commit b3be076 added soft hyphens along with a comment for translators
to use those soft hyphens. Except that gettext would only grab the one
line out of the four we wrote for translators to read. Put them all on
the same line so that gettext actually extracts those.

https://bugzilla.gnome.org/show_bug.cgi?id=765778
2016-04-28 23:38:00 +02:00
Rui Matos
11d5d850b2 common: Fix search by skipping soft hyphens when normalizing
Commit b3be07609a introduced soft
hyphens in panel names which causes searches to fail. Fix this by
skipping soft hyphen when normalizing strings.

https://bugzilla.gnome.org/show_bug.cgi?id=765617
2016-04-26 17:17:31 +02:00
Bastien Nocera
c831eaa6e3 universal-access: Correct label for "Sound Keys"
In X11, the "toggle keys" accessibility feature beeps when NumLock or
CapsLock are turned on, and also when turned off. Correct the label to
mention that.

https://bugzilla.gnome.org/show_bug.cgi?id=765589
2016-04-26 13:53:43 +02:00
Cosimo Cecchi
3432b5b8c4 search: force GTK_ICON_SIZE_DIALOG icon size
Force a pizel size too, so that we can work around applications not
shipping icons at all sizes.

https://bugzilla.gnome.org/show_bug.cgi?id=764297
2016-04-21 12:34:50 +05:30
Marek Kasik
1fbc8de8bd printers: Fix compilation error
Fix "format not a string literal" error by not using
formatted print.

https://bugzilla.gnome.org/show_bug.cgi?id=764153
2016-04-15 12:21:27 +02:00
Cosimo Cecchi
cce521db4a network: fix a GCC warning
https://bugzilla.gnome.org/show_bug.cgi?id=764296
2016-04-14 12:31:49 -07:00
Cosimo Cecchi
2fa79c35cc datetime: add -lm to libraries
https://bugzilla.gnome.org/show_bug.cgi?id=764296
2016-04-14 12:31:49 -07:00
Cosimo Cecchi
cc5c94f151 display: remove unused code
https://bugzilla.gnome.org/show_bug.cgi?id=764296
2016-04-14 12:31:49 -07:00
Bastien Nocera
67c1755fe7 network: Fix warning about renamed theme property
Theme parsing error: <data>:1:54: The 'outline-radius' property has been renamed to '-gtk-outline-radius'
2016-04-13 13:44:30 +02:00
Michael Catanzaro
5036ff0f80 network: Hide firewall zone combo when firewalld is not running
Currently, if firewalld is not running, then the firewall zone combo is
always insensitive. This would make sense if firewalld was great and we
were to consider it a distro bug to not have firewalld running and
enabled, then users would be able to see the option is disabled and
think "maybe my distro has done something wrong."

But in actuality, firewalld is not really great, only Fedora ships it
and we're not really recommending it to other distros. So hide the combo
if it's not running, else it's just broken on $NOTFEDORA.

https://bugzilla.gnome.org/show_bug.cgi?id=763477
2016-04-11 14:53:08 -05:00
Cosimo Cecchi
13beb5db5b info: fetch renderer information from gnome-session
Now that it's exported over DBus.

https://bugzilla.gnome.org/show_bug.cgi?id=754256
2016-04-08 21:03:56 -07:00
Cosimo Cecchi
60e7c350fe info: remove unused code
https://bugzilla.gnome.org/show_bug.cgi?id=754256
2016-04-08 21:03:56 -07:00
Hiroshi Takekawa
6ed989a544 printers: add compatibility code for older cups
https://bugzilla.gnome.org/show_bug.cgi?id=764780
2016-04-08 16:02:45 +02:00
Florian Müllner
87bf4cc06e universal-access: Specify a window when testing visual bell
When testing the window title flash, we should make sure that there
is a window to flash instead of relying on the compositor to pick
one for us.

https://bugzilla.gnome.org/show_bug.cgi?id=754810
2016-04-08 11:31:24 +02:00
Bastien Nocera
82b73e5e77 printers: Fix "format not a string literal" error
https://bugzilla.gnome.org/show_bug.cgi?id=764727
2016-04-08 11:31:24 +02:00
Bastien Nocera
9c70369a34 network: Fix "format not a string literal" error
https://bugzilla.gnome.org/show_bug.cgi?id=764727
2016-04-08 11:31:24 +02:00
Bastien Nocera
ec5d9d05a7 datetime: Fix "format not a string literal" error
https://bugzilla.gnome.org/show_bug.cgi?id=764727
2016-04-08 11:31:24 +02:00
Bastien Nocera
c92aa114b4 user-accounts: Work-around "format not a string literal" error
This isn't possible to fix without quite a bit of code movement. This
will do for now though.

https://bugzilla.gnome.org/show_bug.cgi?id=764727
2016-04-08 11:31:24 +02:00
Bastien Nocera
65d9bd0441 sound: Fix "format not a string literal" error
https://bugzilla.gnome.org/show_bug.cgi?id=764727
2016-04-08 11:31:24 +02:00
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