Il giorno mar, 06/09/2011 alle 22.12 +0200, Jan Djärv ha scritto: > > Stefano Facchini skrev 2011-09-06 18:11: > > When compiling with GTK3 the toolbar style should be set to > > "primary-toolbar" to match the new theme. However, simply setting the > > style in this way makes the toolbar looks bad because of the GtkEventBox > > wrapped around every GtkButton. > > > > It seems that the GtkEventBox is only used in connecting signals which > > can be connected directly to the GtkButton itself. In the attached patch > > the event box is removed and the toolbar style set to "primary-toolbar". > > > > The GtkEventBox is there to make tooltips work on disabled buttons. Any patch > made must preserve that. > > Jan D. > Since Gtk+ 3.3.6 it is possible to make transparent the background of a widget. This allows to solve the GtkEventBox issue when using a primary toolbar style. A patch is attached.