[maemo-developers] [maemo-developers] Bug with GtkCellRendererToggle?

From: Jan Arne Petersen maemo at jpetersen.org
Date: Wed Apr 19 19:18:23 EEST 2006
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

Jan Arne Petersen

More information about the maemo-developers mailing list