[gnome-control-center] universal-access: Fix sensitivity of keyboard a11y
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] universal-access: Fix sensitivity of keyboard a11y
- Date: Thu, 8 Sep 2011 23:10:59 +0000 (UTC)
commit ebd4414ac9d5a32d67bbcd209589934141da385c
Author: Bastien Nocera <hadess hadess net>
Date: Fri Sep 9 00:07:10 2011 +0100
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
panels/universal-access/cc-ua-panel.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/panels/universal-access/cc-ua-panel.c b/panels/universal-access/cc-ua-panel.c
index 16e8eed..50d497b 100644
--- a/panels/universal-access/cc-ua-panel.c
+++ b/panels/universal-access/cc-ua-panel.c
@@ -210,13 +210,6 @@ static gchar *visual_alerts_section[] = {
NULL
};
-static gchar *shortcuts_section[] = {
- "stickykeys_frame",
- "slowkeys_frame",
- "bouncekeys_frame",
- NULL
-};
-
static void
cc_ua_panel_section_switched (GObject *object,
GParamSpec *pspec,
@@ -654,7 +647,7 @@ cc_ua_panel_init_keyboard (CcUaPanel *self)
/* enable shortcuts */
w = WID (priv->builder, "typing_keyboard_toggle_checkbox");
- settings_on_off_editor_new (priv, priv->kb_settings, "enable", w, shortcuts_section);
+ g_settings_bind (priv->kb_settings, "enable", w, "active", G_SETTINGS_BIND_DEFAULT);
/* sticky keys */
w = WID (priv->builder, "typing_sticky_keys_switch");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]