Re: GtkAction sensitivity




--- Tim Müller <zen18864 zen co uk> wrote:

On Wednesday 01 December 2004 15:33, Harring Figueiredo wrote:

 It seems that there is no way to set a GtkAction sensitivity on 2.4.x, is
  there ?

  g_object_set (action, "sensitive", FALSE, NULL);
  g_object_set (action, "sensitive", TRUE, NULL);

should work.


 Darn it !! 

 I tried that and did not put the NULL at the end, and it of course
complained...

GLib-GObject-WARNING **: g_object_set_valist: object class `GtkAction' has no
property named `\x83\xc4 \xa1\xd0\u0019\u0005\u0008\x838'.

  I did not even bother to realise that the propery name was garbled, so I
thought -- what the heck, the property is not there.

 Next time I will double-check func prototype.

 Thanks,

Harring.




                
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]