Gtk 2.4.4: Smaller panel icons
Bernhard.Walle at gmx.de
Tue Jul 13 10:20:39 CEST 2004
* Brian J. Tarricone <bjt23 at cornell.edu> [2004-07-12 22:36]:
> On Mon, 12 Jul 2004, Bernhard Walle wrote:
> > * Jasper Huijsmans <jasper at xfce.org> [2004-07-12 21:31]:
> > > Bernhard Walle wrote:
> > > >
> > > > I use Xfce 4.0.6 and upgraded to Gtk 2.4.4. The result is that the
> > > > panel icons are smaller than with Gtk 2.4.0.
> > > >
> > > > See http://turing.fh-landshut.de/~bwalle/screenshot.png
> > > > and http://turing.fh-landshut.de/~bwalle/panel_new.png
> > > >
> > > > Is this intended, not possible in another way or a bug?
> > >
> > > This is exactly what caused the cropped icons bug. You would have seen
> > > that if you had used xfce 4.0.5. Gtk changed the size allocation for
> > > buttons to include padding for a focus indicator, which leaves less
> > > space for the icon; how much less depends on the theme.
> > I saw that GtkButton::focus-padding in the theme setting is
> > responsible for this.
> > Is there no way to apply another setting only for panel buttons? In
> > "Very small" mode, the icons are a bit too small now, in my opinion.
> you could probably do that like so:
> g_object_set(G_OBJECT(button), "focus-padding", some_small_int, NULL);
> but i'm not sure of the wisdom in messing with people's themes...
No, I'm thinking of an entry in ~/.gtkrc-2.0 (or in the themes file).
GtkWidget::focus-padding = 0
class "Xfce*" style "small"
works, but I would like to have some more specific, which only affects
the panel buttons.
Could someone help? Jasper?
_________ http://www.bwalle.de _________________________________________________
More information about the Xfce4-dev