diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2013-06-26 11:16:12 -0400 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2013-06-26 11:16:12 -0400 |
commit | 7e3a494fac62140f466fc43f6cc061215953e9b1 (patch) | |
tree | 6e7ced75ce242f088af51e9626cb3ecbf2236e92 /gtk/gtksettings.c | |
parent | e8147d15f74e62047c84eb95e393449722198d89 (diff) | |
download | gtk+-7e3a494fac62140f466fc43f6cc061215953e9b1.tar.gz |
Deprecate and ignore gtk-enable-mnemonics and gtk-auto-mnemonics" properties
They are both enabled by default.
Diffstat (limited to 'gtk/gtksettings.c')
-rw-r--r-- | gtk/gtksettings.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c index c40c88baa6..1d488d8ee1 100644 --- a/gtk/gtksettings.c +++ b/gtk/gtksettings.c @@ -943,6 +943,8 @@ gtk_settings_class_init (GtkSettingsClass *class) * can be activated. * * Since: 2.12 + * + * Deprecated: 3.10: This setting is ignored */ result = settings_install_property_parser (class, g_param_spec_boolean ("gtk-enable-mnemonics", @@ -1159,12 +1161,14 @@ gtk_settings_class_init (GtkSettingsClass *class) * presses the mnemonic activator. * * Since: 2.20 + * + * Deprecated: 3.10: This setting is ignored */ result = settings_install_property_parser (class, g_param_spec_boolean ("gtk-auto-mnemonics", P_("Auto Mnemonics"), P_("Whether mnemonics should be automatically shown and hidden when the user presses the mnemonic activator."), - FALSE, + TRUE, GTK_PARAM_READWRITE), NULL); g_assert (result == PROP_AUTO_MNEMONICS); |