[hafqa] [hafqa] [Bug 1161] GtkTreeView:show-expanders property not recognized

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Thu Mar 29 06:03:21 EEST 2007
https://maemo.org/bugzilla/show_bug.cgi?id=1161


sean at cs.gmu.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




------- Additional Comments From sean at cs.gmu.edu  2007-03-29 06:03 -------
The real reason that the expanders do not appear in maemo is a very bad style design decision which 
needs to be revised.  Specifically, maemo has set the (GTK 2.6) GtkTreeView:expander-size property to 
*0*, thus deleting the expanders.

This is bad design indeed: by deleting the expanders, there is NO WAY to distinguish between leaf 
nodes in the TreeView tree and non-leaf nodes with hidden children.  You cannot tell that clicking on a 
row will expand to kids or not.  This converts TreeView into a kind of mystery meat mechanism.

In pygtk, this ugliness can be worked around by forcing a replacement style (ugh!), like this:

gtk.rc_parse_string('''style "toolkit"
{
        GtkTreeView::expander-size = 14
}

class "GtkTreeView" style "toolkit"
''')


-- 
Configure bugmail: https://maemo.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list