Commit graph

298 commits

Author SHA1 Message Date
Bastien Nocera
6c3daeaac4 universal-access: Fix possible crash when exiting panel
The gnome-settings-daemon mouse settings (double-click delay) and repeat
keys settings were both missing destroying their GSettings, meaning that
we could crash if the setting changed outside the panel, or when coming
and going to the panel.

https://bugzilla.gnome.org/show_bug.cgi?id=793322
2018-02-09 17:01:36 +01:00
Felipe Borges
13d08b4687 universal-access: Style the Screen Reader dialog switch
This pattern is used all over gnome-control-center in dialogs such
as the Privacy -> Location Services.

https://bugzilla.gnome.org/show_bug.cgi?id=786756
2018-01-25 23:32:29 -02:00
Iñigo Martínez
0dd386f405 build: Migrate from Intltool to Gettext
Recent versions of Gettext are able to translate several formats
that are used in GNOME applications. This patch migrates from
Intltool to Gettext by using meson's i18n features.

https://bugzilla.gnome.org/show_bug.cgi?id=787588
2018-01-23 10:49:31 +01:00
Iñigo Martínez
dc0988d47c build: Remove autotools
To avoid the burden of maintaining multiple build systems, this
patch removes autotools support.

https://bugzilla.gnome.org/show_bug.cgi?id=785414
2018-01-18 12:20:08 +01:00
Piotr Drąg
b65e31323a panels: Remove soft hyphens from .desktop files
With the old shell gone, there is no need to work around cut off panel
names (bug #647087). As it stands now, it only confuses translators
(invisible characters are hard to, well, see).

https://bugzilla.gnome.org/show_bug.cgi?id=792629
2018-01-18 00:12:04 -02:00
Iñigo Martínez
32edd6789e build: Port to meson build system
Meson is a build system focused on speed an ease of use, which
helps speeding up the software development. This patch adds meson
support along autotools.

https://bugzilla.gnome.org/show_bug.cgi?id=785414
2018-01-17 20:09:35 -02:00
Georges Basile Stavracas Neto
b23ef59926 shell-model: Remove old categories
Since we don't maintain two different shells anymore, there
is no need to maintain the two different sets of categories
in the desktop files.

This commit also drops the "#ifdef CC_ENABLE_ALT_CATEGORIES"
blocks, since the previous commit removed that define.

https://bugzilla.gnome.org/show_bug.cgi?id=790923
2017-11-28 17:03:51 -02:00
Allan Day
87568e9250 Harmonize list box row layouts
While it isn't possible, or even advisable, to make all the list
box rows the same height, using a number of standard heights will
make the control center feel more harmoneous.

Adust the height of the list box rows in Color, Date & Time,
Mouse & Touchpad, Network, Privacy, Region & Language, Sharing
and Universal Access. Makes standard rows that contain labels
and/or controls 58px tall. Some other rows, such as those which
contain two lines of text, are allowed to be taller.

https://bugzilla.gnome.org/show_bug.cgi?id=786384
2017-08-20 18:38:48 +02:00
Allan Day
8a8e53ab8a Standardize vertical spacing of panels
Ensure that the vertical spacing inside each panel is similar.
This makes the transition between each panel smoother and makes
the control center feel more cohesive.

Settings panels are given 32px above and below their content
and 32px vertical space between major sections. 12px space is
placed below headings.

Bluetooth, displays and printers are not addressed.

https://bugzilla.gnome.org/show_bug.cgi?id=786384
2017-08-20 18:38:42 +02:00
Georges Basile Stavracas Neto
c458e82580 universal-access: Improve indentation of labels 2017-08-13 10:04:01 -03:00
Georges Basile Stavracas Neto
f7bdd3c969 panels: Minor adjustments for the new shell 2017-08-09 19:31:41 +02:00
Bastien Nocera
5bb41f6d33 universal-access: Add Blink and Repeat to the keywords
https://bugzilla.gnome.org/show_bug.cgi?id=781245
2017-04-13 10:23:39 +02:00
Bastien Nocera
5cccd1d544 universal-access: Handle "pixels" plural correctly
Using g_dngettext() as required.

https://bugzilla.gnome.org/show_bug.cgi?id=779798
2017-03-09 12:45:42 +01:00
Bastien Nocera
922c6588d3 universal-access: Add Cursor Size selection dialogue
The dialogue offers the 5 separate cursor sizes that adwaita's cursor
theme supports, aligned in a row.

The cursor sizes are described in a way that doesn't judge their
respective sizes, but simply describes them.

https://bugzilla.gnome.org/show_bug.cgi?id=608231
2017-03-08 14:47:52 +01:00
Bastien Nocera
75241454f0 universal-access: Add bits for glade to shut up 2017-03-07 12:04:00 +01:00
Bastien Nocera
e99d67442c universal-access: Don't use C++ style comments 2017-03-07 12:04:00 +01:00
Bastien Nocera
3f0510cac8 build: Better libm checks
Use AC_CHECK_LIBM instead of AC_CHECK_LIB(m,...
and use $(LIBM) instead of hardcoding "-lm" in Makefiles.
2017-02-08 19:21:53 +01:00
Bastien Nocera
aa8995657f universal-access: Add keywords for Double-click delay
https://mail.gnome.org/archives/gnomecc-list/2016-October/msg00000.html
2016-10-17 11:45:03 +02:00
Georges Basile Stavracas Neto
2777fd583d panels: use the new categories
Following the previous patch, this patch adds the new alternative
categories to the panels' Desktop files. These alternative categories
are only relevant for the alternative Shell, and do not break the
current Shell in any way.

https://bugzilla.gnome.org/show_bug.cgi?id=767301
2016-06-14 12:16:43 -03:00
Felipe Borges
a969805bd2 universal-access: allow focus on row switches
This allows the navigation/focus to the settings switches.

https://bugzilla.gnome.org/show_bug.cgi?id=766186
2016-05-10 10:47:03 +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
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
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
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
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
Rui Matos
e96e87a282 universal-access: Fix mnemonic conflicts 2016-01-18 16:17:48 +01:00
Rui Matos
cde6a3eb3a universal-access: Add missing mnemonic widget to the Large Text label 2016-01-18 16:16:33 +01:00
Jiro Matsuzawa
e49495408a universal-access: Give mnemonic to labelled widgets
https://bugzilla.gnome.org/show_bug.cgi?id=736606
2016-01-18 15:50:20 +01:00
Felipe Borges
e1fe43f62b universal-access: prevent the Repeat Keys switch from vexpanding
https://bugzilla.gnome.org/show_bug.cgi?id=757464
2015-11-04 12:51:56 +01:00
Felipe Borges
417ffaa014 universal-access: add Cursor Blinking settings to the Typing section
https://bugzilla.gnome.org/show_bug.cgi?id=757486
2015-11-04 10:03:55 +01:00
Felipe Borges
0b53a560db universal-access: add Repeat Keys to the Typing section
According to the new Keyboard panel design, this setting belongs
to the Universal Access panel.

https://bugzilla.gnome.org/show_bug.cgi?id=757464
2015-11-02 15:03:18 +01:00
Felipe Borges
0514006498 universal-access: make the Double-Click delay slider wider
https://bugzilla.gnome.org/show_bug.cgi?id=756872
2015-10-21 13:45:09 +02:00
Felipe Borges
87f3dfab02 universal-access: add Double-click delay to Pointing & Clicking section
According to the new Mouse & Touchpad panel designs at
https://wiki.gnome.org/Design/SystemSettings/Mouse, Double-click
delay belongs to the Universal Access panel.

https://bugzilla.gnome.org/show_bug.cgi?id=756872
2015-10-21 12:48:55 +02:00
Matthias Clasen
19d8e9ba6c universal-access: Make section heading accessible
We need to set up labelled-by/label-for relations so orca knows
to read the labels when the focus enters one of the lists.

https://bugzilla.gnome.org/show_bug.cgi?id=746761
2015-09-29 14:22:49 -04:00
Anders Jonsson
a655643325 universal-access: Fix typo in translatable string
https://bugzilla.gnome.org/show_bug.cgi?id=741413
2014-12-12 09:29:01 +01:00
Bastien Nocera
19f9bf95dc universal-access: Disable hover on non-clickable rows
https://bugzilla.gnome.org/show_bug.cgi?id=733264
2014-10-17 12:19:41 +02:00
Christophe Fergeau
eb3acad453 universal-access: Use AM_CPPFLAGS rather than INCLUDES
This is deprecated in newer automake versions, and this causes warnings
with automake 1.14:
panels/printers/Makefile.am:3: warning: 'INCLUDES' is the old name for
AM_CPPFLAGS' (or '*_CPPFLAGS')

https://bugzilla.gnome.org/show_bug.cgi?id=732189
2014-06-25 12:46:42 +02:00
Bastien Nocera
636e9e2ed3 universal-access: Use new listbox helpers
https://bugzilla.gnome.org/show_bug.cgi?id=732106
2014-06-24 11:35:31 +02:00
Yosef Or Boczko
56e520cb00 universal-access: Use header bar in all the dialogs
https://bugzilla.gnome.org/show_bug.cgi?id=724299
2014-04-28 17:29:18 +03:00
Ting-Wei Lan
1ea4b3a90a universal-access: Remove useless inline functions
These inline functions are just wrappers with shorter names. We do not need to
save line length.

https://bugzilla.gnome.org/show_bug.cgi?id=723994
2014-02-11 20:02:53 +08:00
Bastien Nocera
832f47dcda universal-access: Use '&' instead of 'and'
https://bugzilla.gnome.org/show_bug.cgi?id=689499
2014-02-10 16:07:18 +01:00
Daniel Mustieles
2c5951819d Updated FSF's address 2014-01-29 11:27:38 +01:00
Matthias Clasen
b289fab6c8 a11y: Silence a compiler warning
build.gnome.org now records warnings, and this came up.
2013-12-01 10:38:56 -05:00
Yosef Or Boczko
b338ac9afa universal-access: Use margin-start/end instead of margin-left/right
https://bugzilla.gnome.org/show_bug.cgi?id=712661
2013-11-19 22:32:04 +02:00
Jasper St. Pierre
dd52ac9417 Add NoDisplay to all gnome-control-center panel .desktop files
These aren't apps -- they're simply launchers for gnome-control-center.
They should not be shown as apps in the UI at all.

https://bugzilla.gnome.org/show_bug.cgi?id=712246
2013-11-15 08:44:53 -05:00
Daniel Mustieles
cdf774b1b6 Fixed typo in string 2013-10-25 16:32:59 +02:00
Bastien Nocera
7b67f6c321 universal-access: Split "Screen" and "Reader" keywords
Our search doesn't like split words.

https://bugzilla.gnome.org/show_bug.cgi?id=710263
2013-10-21 22:56:39 +02:00
Rui Matos
e7de1af27b universal-access: Don't leak the dialogs
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:04 +02:00
Rui Matos
926615b3f5 universal-access: Remove unused toplevel window from .ui file
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:04 +02:00
Rui Matos
7a271439c9 universal-access: Remove the mnemonic-activate handler
It's wrong because the label's parent isn't a GtkListBoxRow which
causes a warning.

In any case, we don't need it since GtkLabel already does the work of
finding a suitable parent widget to activate on mnemonic-activate
which ends up causing GtkListBox to fire its row-activated signal that
we already handle.

https://bugzilla.gnome.org/show_bug.cgi?id=708283
2013-10-01 10:04:20 +02:00