|
发表于 2006-7-27 08:54:42
|
显示全部楼层
我这个.gtkrc.mime文件就可以了,当然,你得和我一样有unisun字体,没有这个字体就把第2行的unisun换成simsun
[code:1]
style "gtk-default-zh-cn" {
fontset = "-misc-unisun-medium-r-normal-*-*-100-*-*-c-*-gb2312.1980-0,\
-misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso8859-1,*-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn"
# Theme Name : G26
# Author(s) : Link Dupont <[email protected]>
# Description : An attempt at a default simple style GNOME theme.
# Makes extensive use of the Smooth GTK+ engine.
#
include "iconrc"
style "default" {
###### GTK Style Colours ######
fg[ACTIVE] = "#000000"
fg[SELECTED] = "#FFFFFF"
fg[NORMAL] = "#000000"
fg[PRELIGHT] = "#000000"
fg[INSENSITIVE] = "#757575"
bg[ACTIVE] = "#D1D1D1"
bg[SELECTED] = "#1069A1"
bg[NORMAL] = "#ECECEC"
bg[PRELIGHT] = "#FAFAFA"
bg[INSENSITIVE] = "#EBEBEB"
base[ACTIVE] = "#808080"
base[SELECTED] = "#1069A1"
base[NORMAL] = "#FFFFFF"
base[PRELIGHT] = "#FFFFFF"
base[INSENSITIVE] = "#FFFFFF"
text[ACTIVE] = "#000000"
text[SELECTED] = "#FFFFFF"
text[NORMAL] = "#000000"
text[PRELIGHT] = "#000000"
text[INSENSITIVE] = "#757575"
###### Theme Engine Style ######
engine "smooth" {
###### GTK Style Flags ######
GtkWidget::interior_focus = 0
GtkWidget::focus-line-pattern = ""
GtkWidget::focus_padding = 0
GtkButton::default_spacing = 8
GtkButton::default_border = {0, 0, 0, 0}
GtkButton::default_outside_border = {0, 0, 0, 0}
GtkCheckButton::indicator_size = 14
GtkRadioButton::indicator_size = 12
GtkPaned::handle_size = 7
GtkRange::trough_border = 2
GtkRange::slider_width = 15
GtkRange::stepper_size = 15
GtkRange::stepper_spacing = 0
tab_style = square
fill {
style = shaded
hdirection = vertical
vdirection = horizontal
shade1 = 1.05
shade2 = 0.95
}
line {
style = smooth
thickness = 1
}
trough {
fill {
style = solid
}
}
focus {
foreground[ACTIVE] = "#1069A1"
foreground[SELECTED] = "#1069A1"
foreground[NORMAL] = "#1069A1"
foreground[PRELIGHT] = "#1069A1"
}
grip {
style = none
}
check {
style = clean
motif = FALSE
fill {
style = shade
hdirection = vertical
vdirection = horizontal
shade1 = 1.05
shade2 = 0.95
}
}
option {
style = circle
motif = FALSE
}
arrow {
style = cleanice
solid = TRUE
}
}
} widget_class "*" style "default"
###### Toolbar/Menubar etc. Style ######
style "toolbar" {
###### GTK Style Colours ######
bg[PRELIGHT] = "#1069A1"
base[PRELIGHT] = "#1069A1"
###### Theme Engine Style ######
engine "smooth" {
###### GTK Style Flags ######
GtkWidget::interior_focus = 1
GtkWidget::focus_padding = 1
GtkMenuBar::interior-padding = 0
fill {
style = solid
}
line {
style = smooth
thickness = 0
}
grip {
style = none
}
}
}
widget_class "*BonoboDockItem" style "toolbar"
class "*BonoboDockItem" style "toolbar"
widget_class "*HandleBox" style "toolbar"
class "*HandleBox" style "toolbar"
widget_class "*Toolbar" style "toolbar"
class "*Toolbar" style "toolbar"
widget_class "*MenuBar" style "toolbar"
class "*MenuBar" style "toolbar"
###### MenuItem Style ######
style "menuitem" {
###### GTK Style Colours ######
bg[PRELIGHT] = "#1069A1"
fg[PRELIGHT] = "#FFFFFF"
base[PRELIGHT] = "#1069A1"
text[PRELIGHT] = "#FFFFFF"
###### Theme Engine Style ######
engine "smooth" {
fill {
style = solid
}
edge {
line {
style = flat
thickness = 2
}
}
line {
style = smooth
thickness = 2
}
check {
style = clean
motif = false
}
option {
style = circle
motif = false
fill {
style = solid
}
}
arrow {
style = cleanice
solid = TRUE
xpadding = 1
ypadding = 1
}
}
}
class "*MenuItem*" style "menuitem"
widget_class "*MenuItem*" style "menuitem"
style "hscrollbar"
{
###### Theme Engine Style ######
engine "smooth" {
GtkRange::trough_border = 2
GtkRange::slider_width = 15
GtkRange::stepper_size = 15
GtkRange::stepper_spacing = 0
fill {
style = shade
hdirection = vertical
vdirection = horizontal
shade1 = 1.05
shade2 = 0.95
}
line {
style = smooth
thickness = 1
}
trough {
fill {
style = solid
}
}
grip {
style = none
}
arrow {
style = cleanice
solid = TRUE
xpadding = 1
ypadding = 1
}
}
}
widget_class "*HScrollbar*" style "hscrollbar"
class "*HScrollbar*" style "hscrollbar"
widget_class "*HScale*" style "hscrollbar"
class "*HScale*" style "hscrollbar"
style "vscrollbar"
{
###### Theme Engine Style ######
engine "smooth" {
GtkRange::trough_border = 2
GtkRange::slider_width = 15
GtkRange::stepper_size = 15
GtkRange::stepper_spacing = 0
fill {
style = shade
hdirection = vertical
vdirection = horizontal
shade1 = 1.05
shade2 = 0.95
}
line {
style = smooth
thickness = 1
}
trough {
fill {
style = solid
}
}
grip {
style = none
}
arrow {
style = cleanice
solid = TRUE
xpadding = 1
ypadding = 1
}
}
}
widget_class "*VScrollbar*" style "vscrollbar"
class "*VScrollbar*" style "vscrollbar"
widget_class "*VScale*" style "vscrollbar"
class "*VScale*" style "vscrollbar"
style "progressbar" {
###### GTK Style Colours ######
bg[PRELIGHT] = "#1069A1"
fg[PRELIGHT] = "#FFFFFF"
engine "smooth" {
fill {
style = shade
hdirection = vertical
vdirection = horizontal
shade1 = 1.05
shade2 = 0.95
}
line {
style = none
thickness = 1
}
trough {
line {
style = smooth
}
}
}
} widget_class "*ProgressBar*" style "progressbar"
class "*ProgressBar*" style "progressbar"
style "tooltips" {
bg[NORMAL] = "#FFFFBF"
fg[NORMAL] = "#000000"
text[NORMAL] = "#000000"
} widget "gtk-tooltips" style "tooltips[/code:1] |
|