After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 644089 - treeview: propagate the selected state from the row
treeview: propagate the selected state from the row
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
unspecified
Other All
: Normal normal
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks:
 
 
Reported: 2011-03-07 05:15 UTC by Cosimo Cecchi
Modified: 2011-03-07 13:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
treeview: propagate the selected state from the row (1.50 KB, patch)
2011-03-07 05:15 UTC, Cosimo Cecchi
none Details | Review
treeview: propagate the selected state from the row (1.54 KB, patch)
2011-03-07 05:30 UTC, Cosimo Cecchi
accepted-commit_now Details | Review

Description Cosimo Cecchi 2011-03-07 05:15:24 UTC
The selected state for the expander should be propagated from the row.
Comment 1 Cosimo Cecchi 2011-03-07 05:15:30 UTC
Created attachment 182672 [details] [review]
treeview: propagate the selected state from the row

An expander in a row can't be selected on its own otherwise. This way
themes can override the expander colors when the row is selected.
Comment 2 Cosimo Cecchi 2011-03-07 05:30:55 UTC
Created attachment 182673 [details] [review]
treeview: propagate the selected state from the row

Better patch, which reuses the code in place to set FOCUSED instead of SELECTED when the expander has a button press.
Comment 3 Matthias Clasen 2011-03-07 12:33:53 UTC
Review of attachment 182673 [details] [review]:

Seems to work ok.