[Bugs] #3989 sugar UNSP: Shell: Use hover and tap/click feedback on all Views
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Wed Oct 17 08:45:34 EDT 2012
#3989: Shell: Use hover and tap/click feedback on all Views
------------------------------------------+---------------------------------
Reporter: erikos | Owner: manuq
Type: task | Status: reopened
Priority: Unspecified by Maintainer | Milestone: 0.98
Component: sugar | Version: 0.97.x
Severity: Blocker | Resolution:
Keywords: r?, olpc-test-pending | Distribution: Unspecified
Status_field: Assigned |
------------------------------------------+---------------------------------
Changes (by manuq):
* keywords: r+, olpc-test-pending => r?, olpc-test-pending
* status: closed => reopened
* resolution: fixed =>
Comment:
Reopening, as the cellrenderers in activities list and Journal are still
missing.
The following patches add the mouse over feedback for them. I have to
figure out how to make the press feedback.
Because cell renderers don't inherit GtkWidget anymore, the styling can't
be done using the __gtype_name__ . Instead, it has to be done adding a
css class [1] to the style context, and rendering the background in the
reimplementation of the do_render method.
For reference, see how GtkCellRendererToggle is implements render [2] and
how Baobab app does it [3].
[1] http://developer.gnome.org/gtk3/3.2/GtkStyleContext.html#gtk-style-
context-add-class
[2] http://git.gnome.org/browse/gtk+/tree/gtk/gtkcellrenderertoggle.c#n338
[3] http://git.gnome.org/browse/baobab/tree/src/baobab-
cellrenderers.vala#n125
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/3989#comment:9>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list