[Bugs] #3565 sugar-artwork UNSP: Theme scroll button in the tray
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Wed Oct 10 01:15:29 EDT 2012
#3565: Theme scroll button in the tray
------------------------------------------+---------------------------------
Reporter: erikos | Owner: manuq
Type: defect | Status: assigned
Priority: Unspecified by Maintainer | Milestone: 0.98
Component: sugar-artwork | Version: Git as of bugdate
Severity: Major | Keywords:
Distribution: Unspecified | Status_field: New
------------------------------------------+---------------------------------
Comment(by manuq):
Sugar trays are gtk boxes that pack buttons in both ends, and a gtk
viewport in the middle. The viewport packs a gtk toolbar.
What we need here is 1. paint the background of those boxes, and 2. style
the buttons.
For 2 we just need to add the __gtype_name__ and the attached patch does
so.
For 1 we have to convert the boxes to EventBoxes because otherwise the
background is not themeable:
https://bugzilla.gnome.org/show_bug.cgi?id=678790
I did so in the attached patch but now I have an issue in the
_size_allocate_cb of _TrayViewport:
{{{
(tray.py:18161): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
allocate widget with width -1280350453 and height 1
}}}
So I need fix that. Then, a patch for artwork is trivial.
Runing the testcase in toolkit-gtk3 tests/graphics/test.py is being useful
to work on this.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/3565#comment:3>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list