Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] .gtkrc not working?

Is .gtkrc case sensitive? I have always seen the font specified in all 
lower case.  Is this font installed on your machine?





ivens@xxxxxxxxxx
Sent by: platform-swt-dev-admin@xxxxxxxxxxx
02/19/2003 02:31 PM
Please respond to platform-swt-dev

 
        To:     platform-swt-dev@xxxxxxxxxxx
        cc: 
        Subject:        [platform-swt-dev] .gtkrc not working?


Hello,

I'm running Eclipse 2.1 M5 (Linux GTK). My GTK is version 2.2.

Reading the SWT FAQ it is mentioned that to change the widgets font you
have to edit your .gtkrc file, or .gtkrc-2.0, so I edited it to change
the widgets fonts.

The GTK modifications specified in .gtkrc works for all my GTK
applications, except Eclipse; it continues with the same default widget
fonts.

The strange thing is that the color modifications take effect in
Eclipse, except for the font.

Following is my .gtkrc:

style "eclipse" {
    font = "-Adobe-Courier-medium-r-Normal--*-120-*-*-*-*-iso8859-1"
    bg[NORMAL] = "#d6d3ce"
    bg[ACTIVE] = "#c7c2bc"
    bg[INSENSITIVE] = "#828282"
    bg[PRELIGHT] = "#3a6ea5"
    fg[NORMAL] = "#000000"
    fg[ACTIVE] = "#000000"
    fg[INSENSITIVE] = "#d4d0c8"
    fg[PRELIGHT] = "#ffffff"
}
class "GtkWidget" style "eclipse"


Anyone knows what am I doing wrong?


Thanks,
-- 
                                      _/_/_/       _/_/_/        _/_/_/
Ivens Porto                         _/     _/    _/            _/
OSE - Open Systems Engineering     _/     _/    _/            _/
http://www.ose.com.br             _/     _/      _/_/_/      _/_/_/_/
Phone: (55) 34 - 3214-5995       _/     _/            _/    _/
Fax:   (55) 34 - 3214-5994      _/     _/            _/    _/
                                 _/_/_/        _/_/_/       _/_/_/
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev





Back to the top