Re: no-focus-rectangle theme



Hello,

On Thu, 2008-10-02 at 21:18 +0200, Benjamin Berg wrote:
> On Tue, 2008-09-30 at 08:24 -0500, Shaun McCance wrote:
> > It would also be nice to have a no-focus-rectangle theme for
> > documentation, since it's just a distraction in screenshots.
> 
> An option like that can be easily added to the Clearlooks engine. If
> done, a couple of lines in the .gtkrc-2.0 (or a file loaded eg. via the
> GTK2_RC_FILES environment variable) would be enough to remove the focus
> ring for doing screenshots. [1]

I have added this option to gtk-engines trunk now. So the gtkrc snippet
below works now with gtk-engines trunk.

I hope this is useful,

Benjamin

> [1] Something like:
> 
> style "no-focus-ring"
> {
>   engine "clearlooks" {
>     disable_focus = TRUE
>   }
> }
> 
> class "GtkWidget" style "no-focus-ring"

Attachment: signature.asc
Description: This is a digitally signed message part



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