Commit graph

88 commits

Author SHA1 Message Date
Robert Ancell
a760707291 universal-access: Fix compile warning
Introduced in 38897a751b
2019-08-13 10:40:59 +12:00
Mohammed Sadiq
38897a751b universal-access: Free zoom options dialog right
Use gtk_widget_destroy() instead of g_clear_object().
Otherwise, it results in segfault on dispose()
2019-07-15 04:40:42 +00:00
Robert Ancell
59cc518c3e universal-access: Make .ui filename match the .c filename 2018-11-12 16:41:01 +00:00
Robert Ancell
24d495d0f5 universal-access: Don't use gtk_widget_show_all
It is removed in GTK+ 4
2018-10-11 22:21:34 +00:00
Robert Ancell
014e572e9b universal-access: Use GtkTemplate 2018-06-11 14:11:47 +00:00
Robert Ancell
3f9337da4e universal-access: Use g_auto for variables 2018-06-03 01:31:26 +00:00
Robert Ancell
85eeebb5c5 universal-access: Replace GObject boilerplace with G_DECLARE_TYPE 2018-05-30 23:33:25 +00:00
Benjamin Berg
c2f601a9d4 Move common panel code from shell/ to panel/common
This creates a new static library called libwidget which the shell links
against.
2018-04-17 15:26:59 +02:00
Georges Basile Stavracas Neto
6cd9461807 universal-access: Turn ZoomOptions into a template class
This commit turns the ZoomOptions into a template class that
subclasses GtkDialog.

This is also a follow-up from commit c82deede1 where we started
using the non-deprecated GdkMonitor API.
2018-03-16 02:01:38 -03:00
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
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
e99d67442c universal-access: Don't use C++ style comments 2017-03-07 12:04:00 +01: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
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
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
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
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
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
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
Kalev Lember
8a1c1d4386 universal-access: Remove an unused variable 2013-09-12 22:32:46 +02:00
Alejandro Piñeiro
0b2a0a37b9 universal access: toggle child switch if parent list box row is activated
Focusing on the main view.

https://bugzilla.gnome.org/show_bug.cgi?id=707778
2013-09-11 05:44:29 -04:00
Matthias Clasen
145ffcbb55 universal-access: Updated design
A new design for the universal acccess panel:
https://live.gnome.org/Design/SystemSettings/UniversalAccess

https://bugzilla.gnome.org/show_bug.cgi?id=695099
2013-07-19 13:03:31 +02:00
Cosimo Cecchi
f7ae09c561 universal-access: use a GResource for GtkBuilder UI definition
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 10:57:16 +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
Cosimo Cecchi
d834ebc321 a11y: also set the WM HighContrast theme when the switch is flipped
Now that we have a HighContrast-specific WM theme.

https://bugzilla.gnome.org/show_bug.cgi?id=688257
2012-11-13 11:23:18 -05:00
Bastien Nocera
c384570bac universal-access: Always show the zoom options
Now that the fallback mode is gone. #fallback

https://bugzilla.gnome.org/show_bug.cgi?id=682862
2012-11-09 15:58:51 +01: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
Florian Müllner
fa4a957529 universal-access: Add get_help_uri() implementation
https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:38 +02:00
William Jon McCann
229390f1f5 universal-access: Redesign for consistency and smallness
https://bugzilla.gnome.org/show_bug.cgi?id=665588
2012-05-17 13:22:20 -04:00
Bastien Nocera
c48536c102 universal-access: Hide zoom options when not in shell
https://bugzilla.gnome.org/show_bug.cgi?id=671386
2012-03-08 16:17:21 +01:00
Bastien Nocera
f60e2fa4ae universal-access: Parent zoom options to panel 2012-01-21 14:26:08 +00:00
Robert Ancell
0974b9f34a universal-access: Fix incorrect include path
We were using a prefixed path even though gsettings-desktop-schemas
already prefixes the include path.

https://bugzilla.gnome.org/show_bug.cgi?id=667616
2012-01-10 09:58:02 +00:00
Bastien Nocera
957374dfa9 universal-access: Update for metacity GSettings port
Use GSettings to set the visual-bell preferences, rather than GConf.

https://bugzilla.gnome.org/show_bug.cgi?id=625899
2011-11-14 14:27:40 +00:00
Bastien Nocera
1ce466f80b universal-access: Avoid crashing when GConf is broken
Or when metacity is badly installed. gconf_value_get_string()
_can_ return NULL.

https://bugzilla.redhat.com/show_bug.cgi?id=751007
2011-11-11 14:29:14 +00:00
Bastien Nocera
1465f98af9 universal-access: Use GTK+ instead of custom code
https://bugzilla.gnome.org/show_bug.cgi?id=663341
2011-11-04 17:00:39 +00:00
Joseph Scheuhammer
f7fa758b2b Universal access: add dialog for zoom options
Added UI and code to spawn a zoom options preferences dialog to
modify various magnifier settings.  Modified the 'Seeing'
section of the universal access panel to enable the 'Options...'
button.

https://bugzilla.gnome.org/show_bug.cgi?id=643086
2011-09-21 18:49:42 +01:00
Bastien Nocera
16454c97a6 universal-access: Use links to settings
Rather than buttons.

https://bugzilla.gnome.org/show_bug.cgi?id=659248
2011-09-16 18:19:30 +01:00
Michael Terry
ba0d27aa2b universal-access: Set contrast combo on startup
https://bugzilla.gnome.org/show_bug.cgi?id=658990
2011-09-14 10:39:56 +01:00
Bastien Nocera
34bf1d6076 universal-access: Error when metacity not installed 2011-09-09 00:10:30 +01:00
Bastien Nocera
ebd4414ac9 universal-access: Fix sensitivity of keyboard a11y
Whether or not we have things like Sticky Keys, or Slow Keys
enabled, we still need to be able to turn them on/off from
the keyboard.

https://bugzilla.gnome.org/show_bug.cgi?id=649452
2011-09-09 00:10:29 +01:00
Giovanni Campagna
1f9ae38c2f Add a way for panels to receive additional arguments.
This patch introduces the "argv" property to CcPanel. Panels that
wish to handle extra arguments shall override it and act
appropriately in the constructor.

https://bugzilla.gnome.org/show_bug.cgi?id=657093
2011-09-05 18:07:52 +02:00
Bastien Nocera
b8b3df03fc universal-access: Don't crash when metacity isn't installed 2011-08-26 19:20:52 +01:00
Bastien Nocera
dcd6fe129a universal-access: Keep "text size" items a constant size
https://bugzilla.gnome.org/show_bug.cgi?id=657188
2011-08-26 19:20:05 +01:00
Bastien Nocera
5b4d433f77 universal-access: Remove unused column in model
And the markup in the contents as well.
2011-07-11 13:59:29 +01:00