diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2013-06-26 10:36:56 -0400 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2013-06-26 10:53:09 -0400 |
commit | e8147d15f74e62047c84eb95e393449722198d89 (patch) | |
tree | bceab2418b4c7a9cb25542a2686b58a063fb9185 /gtk/gtksettings.c | |
parent | 77831bf6fdceaed26b1d0b7e6dd9725cbdcf1fb8 (diff) | |
download | gtk+-e8147d15f74e62047c84eb95e393449722198d89.tar.gz |
Deprecate and ignore gtk-menu-images setting
GtkImageMenuItem images can still be enabled selectively by the app author
using the always-show-image property on the item.
Diffstat (limited to 'gtk/gtksettings.c')
-rw-r--r-- | gtk/gtksettings.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c index 4cf2acaf3d..c40c88baa6 100644 --- a/gtk/gtksettings.c +++ b/gtk/gtksettings.c @@ -88,7 +88,7 @@ * /* make sure the type is realized */ * g_type_class_unref (g_type_class_ref (GTK_TYPE_IMAGE_MENU_ITEM)); * - * g_object_set (gtk_settings_get_default (), "gtk-menu-images", FALSE, NULL); + * g_object_set (gtk_settings_get_default (), "gtk-enable-animations", FALSE, NULL); * </programlisting></informalexample> * * There is one GtkSettings instance per screen. It can be obtained with @@ -1276,11 +1276,18 @@ gtk_settings_class_init (GtkSettingsClass *class) NULL); g_assert (result == PROP_ENTRY_PASSWORD_HINT_TIMEOUT); + /** + * GtkSettings::gtk-menu-images: + * + * Whether images should be shown in menu items + * + * Deprecated: 3.10: This setting is ignored + */ result = settings_install_property_parser (class, g_param_spec_boolean ("gtk-menu-images", P_("Show menu images"), P_("Whether images should be shown in menus"), - TRUE, + FALSE, GTK_PARAM_READWRITE), NULL); g_assert (result == PROP_MENU_IMAGES); |