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 615501 - GtkIconView does not support prelight cells
GtkIconView does not support prelight cells
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkIconView
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 658910
 
 
Reported: 2010-04-12 09:01 UTC by Thomas Wood
Modified: 2011-09-15 14:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
iconview: add support for prelight cells (3.36 KB, patch)
2011-09-14 21:35 UTC, Cosimo Cecchi
committed Details | Review

Description Thomas Wood 2010-04-12 09:01:44 UTC
GtkIconView never renders its cells with GTK_CELL_RENDERER_PRELIT state. This makes it impossible for items in the GtkIconView to have a different appearance when a mouse cursor is hovered over them.
Comment 1 Cosimo Cecchi 2011-09-14 21:35:37 UTC
Created attachment 196550 [details] [review]
iconview: add support for prelight cells

Render GtkIconView cell items with the prelight state flag when they're
being mouse hovered.
This works basically in the same way it's done for GtkTreeView cells,
and e.g. GtkCellRendererPixbuf will need to have its follow-state
property to opt in to prelight rendering.
Comment 2 Matthias Clasen 2011-09-15 13:02:56 UTC
Review of attachment 196550 [details] [review]:

Looks reasonable to me.
Comment 3 Cosimo Cecchi 2011-09-15 14:43:42 UTC
Attachment 196550 [details] pushed as e9de907 - iconview: add support for prelight cells

Thanks, pushed to master.