[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9451: GTK3 toolbar style

From: Stefano Facchini
Subject: bug#9451: GTK3 toolbar style
Date: Tue, 20 Dec 2011 12:01:51 +0100

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.

Attachment: gtk3primarytoolbar.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]