Hi Richard, On Feb 7, 2008 5:25 PM, Richard Shann <[EMAIL PROTECTED]> wrote: > I tried to putting a line to set the gtk-can-change-accels property > thus: > > g_object_set (gtk_settings_get_for_screen (gdk_screen_get_default ()), > "gtk-can-change-accels",TRUE, > NULL); > I put this in just after gtk_init and got the runtime warning > > (denemo:10714): GLib-GObject-WARNING **: IA__g_object_set_valist: object > class `GtkSettings' has no property named `gtk-can-change-accels'
I use the following code in my app, which works: gtk_init( &argc, &argv ); GtkSettings * settings = gtk_settings_get_for_screen(gdk_screen_get_default()); if (settings) gtk_settings_set_long_property(settings, "gtk-can-change-accels", TRUE, NULL); I don't know if using gtk_settins_set_long_property instead of g_object_set makes indeed the difference, but you can give it a shot. Cheers, Torsten _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list