Re: gtk-can-change-accels property absent in gtk 2.8.20?

2008-02-08 Thread Richard Shann
Well, I've passed in a constant string gtk_settings_set_long_property(settings, "gtk-can-change-accels", TRUE, ".gtkrc:0"); and the code has started working - thank you very much! Richard Shann On Fri, 2008-02-08 at 00:19 +0100, Torsten Reuss wrote: > On Feb 7, 2008 10:28 PM, Richar

Re: gtk-can-change-accels property absent in gtk 2.8.20?

2008-02-07 Thread Torsten Reuss
On Feb 7, 2008 10:28 PM, Richard Shann <[EMAIL PROTECTED]> wrote: > Hi Torsten, > Thanks for this - curiously I get > > (denemo:16377): Gtk-CRITICAL **: gtk_settings_set_long_property: > assertion `origin != NULL' failed > > with your code. Hmm, I couldn't find out what the origin parameter was go

Re: gtk-can-change-accels property absent in gtk 2.8.20?

2008-02-07 Thread Richard Shann
Hi Torsten, Thanks for this - curiously I get (denemo:16377): Gtk-CRITICAL **: gtk_settings_set_long_property: assertion `origin != NULL' failed with your code. I'll dig into this. Richard ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.

Re: gtk-can-change-accels property absent in gtk 2.8.20?

2008-02-07 Thread Torsten Reuss
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, >

gtk-can-change-accels property absent in gtk 2.8.20?

2008-02-07 Thread Richard Shann
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): GLi