On Wed, 2006-04-19 at 17:50 +0200, Alberto García Hierro wrote: 
> El Miércoles, 19 de Abril de 2006 15:10, Gustavo Sverzut Barbieri escribió:
> > While developing an example Eagle application
> > (http://code.gustavobarbieri.com.br/eagle/examples/vareditor.py) that
> > uses GtkTreeView and
> > GtkCellRendererToggle I noticed that it doesn't work as expected.
> >
> > At first I thought it was a bug with my software/library and asserted
> > it was not the case, code is all right and it works on my desktop.
> >
> > Then after some research, Gaim port to Maemo also show the same
> > problem, in the Accounts window.
> 
> Let me guess... the GtkCellRendererToogle is toogled when you click anywhere 
> on the row? If that's the problem, it's not a bug, it's a feature (tm). In 
> fact, it's the default behaviour in Hildon. I have some code to disable it, 
> so if that's the problem just  drop me a line and I'll search that code.

Disable checkbox-mode:

g_object_set(G_OBJECT(tree_view), "allow-checkbox-mode", FALSE, NULL);


This should be documented, see
https://maemo.org/bugzilla/show_bug.cgi?id=146

Jan Arne Petersen

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to