[gnome-control-center] universal-access: use NO_SENSITIVITY flag for g_settings_bind()
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] universal-access: use NO_SENSITIVITY flag for g_settings_bind()
- Date: Fri, 18 Mar 2011 19:18:22 +0000 (UTC)
commit bea866cf6299d76031e617ba32c570e5287dec14
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Mar 18 14:58:06 2011 -0400
universal-access: use NO_SENSITIVITY flag for g_settings_bind()
Otherwise the sensitivity will be overridden with the setting
writability.
https://bugzilla.gnome.org/show_bug.cgi?id=645171
panels/universal-access/cc-ua-panel.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/panels/universal-access/cc-ua-panel.c b/panels/universal-access/cc-ua-panel.c
index f7dca56..7f3e1d4 100644
--- a/panels/universal-access/cc-ua-panel.c
+++ b/panels/universal-access/cc-ua-panel.c
@@ -631,10 +631,10 @@ cc_ua_panel_init_keyboard (CcUaPanel *self)
settings_on_off_editor_new (priv, priv->kb_settings, "stickykeys-enable", w, sticky_keys_section);
w = WID (priv->builder, "typing_sticky_keys_disable_two_keys_checkbutton");
- g_settings_bind (priv->kb_settings, "stickykeys-two-key-off", w, "active", G_SETTINGS_BIND_DEFAULT);
+ g_settings_bind (priv->kb_settings, "stickykeys-two-key-off", w, "active", G_SETTINGS_BIND_NO_SENSITIVITY);
w = WID (priv->builder, "typing_sticky_keys_beep_modifier_checkbutton");
- g_settings_bind (priv->kb_settings, "stickykeys-modifier-beep", w, "active", G_SETTINGS_BIND_DEFAULT);
+ g_settings_bind (priv->kb_settings, "stickykeys-modifier-beep", w, "active", G_SETTINGS_BIND_NO_SENSITIVITY);
/* slow keys */
w = WID (priv->builder, "typing_slow_keys_switch");
@@ -664,7 +664,7 @@ cc_ua_panel_init_keyboard (CcUaPanel *self)
G_SETTINGS_BIND_DEFAULT);
w = WID (priv->builder, "typing_bounce_keys_beep_rejected_checkbutton");
- g_settings_bind (priv->kb_settings, "bouncekeys-beep-reject", w, "active", G_SETTINGS_BIND_DEFAULT);
+ g_settings_bind (priv->kb_settings, "bouncekeys-beep-reject", w, "active", G_SETTINGS_BIND_NO_SENSITIVITY);
g_signal_connect (WID (priv->builder, "typing_keyboard_preferences_button"),
"clicked",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]