irwinr Apprentice
Joined: 11 May 2004 Posts: 152 Location: Texas
|
Posted: Thu Jun 30, 2005 3:51 pm Post subject: [Almost solved] Glider theme stopped working |
|
|
I get this error when my Gnome 2.10 window manager (Metacity) starts:
Code: |
/usr/share/themes/Glider/gtk-2.0/gtkrc:134: error: unexpected character `}', expected keyword - e.g. `style'
|
I generally don't log out of my machine or close firefox for days at a time, so I'm not sure exactly when this started happening. I first noticed it when I restarted firefox and the buttons/colors changed back to the default Gnome look instead of using the Glider look. I restarted a couple other applications, and sure enough, after restarting, the button widgets all changed back to the old Gnome look. I tried to fix it by doing an 'emerge -e gtk-themes gtk-themes-engines'
After doing that, I could no longer log in (To GNOME or KDE), all I can get into is the failsafe terminal. From there I can run gnome-session and it comes up just fine.
Right now I'm doing an 'emerge -e world' hoping recompiling everything will fix the issue. I'm on package 15 of 514, so I thought I'd post here and see if anyone has any insight on this.
And here is the /usr/share/themes/Glider/gtk-2.0/gtkrc file: (Line 134 is marked)
Code: |
# Theme Name : Glider
# Author(s) : Link Dupont <link@subpop.net>
# Description : A very basic, conservative theme, using the Smooth engine and
# HIG colors.
# This is Glider, the gnome-themes version of SmoothGNOME..
style "default"
{
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 = 6
GtkRange::trough_border = 2
GtkRange::slider_width = 15
GtkRange::stepper_size = 15
GtkRange::stepper_spacing = 0
fg[ACTIVE] = "#000000" # Black
fg[SELECTED] = "#FFFFFF" # White
fg[NORMAL] = "#000000" # Black
fg[PRELIGHT] = "#000000" # Black
fg[INSENSITIVE] = "#565248" # 3D Shadow
bg[ACTIVE] = "#BAB5AB" # Basic 3D Medium
bg[SELECTED] = "#7590AE" # Blue Medium
bg[NORMAL] = "#EAE8E3" # Basic 3D Hilight
bg[PRELIGHT] = "#F2F0EB" # Variant of Basic 3D Hilight
bg[INSENSITIVE] = "#EAE8E3" # Basic 3D Hilight
base[ACTIVE] = "#BAB5AB" # Basic 3D Medium
base[SELECTED] = "#7590AE" # Blue Medium
base[NORMAL] = "#FFFFFF" # White
base[PRELIGHT] = "#FFFFFF" # White
base[INSENSITIVE] = "#DEDCD7" # Variant of Basic 3D Highlight
text[ACTIVE] = "#000000" # Black
text[SELECTED] = "#FFFFFF" # White
text[NORMAL] = "#000000" # Black
text[PRELIGHT] = "#000000" # Black
text[INSENSITIVE] = "#565248" # 3D Shadow
engine "smooth"
{
tab_style = square
fill
{
style = shaded
hdirection = vertical
vdirection = horizontal
shade1 = 1.05
shade2 = 0.95
}
edge
{
line
{
style = smooth
thickness = 1
}
}
trough
{
fill
{
style = solid
}
line
{
style = flat
}
}
focus
{
foreground[ACTIVE] = "#7590AE"
foreground[SELECTED] = "#7590AE"
foreground[NORMAL] = "#7590AE"
foreground[PRELIGHT] = "#7590AE"
}
grip
{
style = dots_in
count = 3
spacing = 2
}
check
{
style = clean
motif = FALSE
fill
{
style = solid
}
}
option
{
style = circle
motif = FALSE
}
button
{
embeddable = TRUE
}
arrow
{
style = cleanice
solid = TRUE
xpadding = 0
ypadding = 0
INSENSITIVE
{
etched = TRUE
}
}
}
}
#LINE 134 is this next line:
widget_class "*" style "default"
style "menuitem"
{
bg[PRELIGHT] = "#7590AE"
fg[PRELIGHT] = "#FFFFFF"
base[PRELIGHT] = "#7590AE"
text[PRELIGHT] = "#FFFFFF"
engine "smooth"
{
fill
{
style = solid
}
edge
{
line
{
style = flat
thickness = 1
}
}
line
{
style = smooth
thickness = 1
}
check
{
style = cleanice
motif = FALSE
edge
{
line
{
style = smooth
}
}
xpadding = 1
ypadding = 1
}
option
{
style = circle
motif = FALSE
edge
{
line
{
style = smooth
}
}
}
arrow
{
style = cleanice
solid = TRUE
xpadding = 0
ypadding = 0
INSENSITIVE
{
etched = TRUE
}
}
}
}
class "*MenuItem*" style "menuitem"
widget_class "*MenuItem*" style "menuitem"
style "toolbar"
{
bg[PRELIGHT] = "#7590AE"
base[PRELIGHT] = "#7590AE"
engine "smooth"
{
fill
{
style = solid
}
edge
{
line
{
style = smooth
thickness = 1
}
}
grip
{
fill
{
style = shaded
hdirection = vertical
vdirection = horizontal
shade1 = 1.05
shade2 = 0.95
}
style = dots_in
count = 3
spacing = 2
}
}
}
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"
style "hscrollbar"
{
engine "smooth" {
fill
{
style = shaded
hdirection = vertical
vdirection = horizontal
shade1 = 1.05
shade2 = 0.95
}
line
{
style = smooth
thickness = 1
}
trough
{
fill
{
style = solid
}
}
grip
{
style = dots_in
count = 3
spacing = 2
}
focus
{
foreground[ACTIVE] = "#7590AE"
foreground[SELECTED] = "#7590AE"
foreground[NORMAL] = "#7590AE"
foreground[PRELIGHT] = "#7590AE"
}
arrow
{
style = cleanice
solid = TRUE
xpadding = 1
ypadding = 1
INSENSITIVE
{
etched = TRUE
}
}
}
}
widget_class "*HScrollbar*" style "hscrollbar"
class "*HScrollbar*" style "hscrollbar"
widget_class "*HScale*" style "hscrollbar"
class "*HScale*" style "hscrollbar"
style "progressbar"
{
bg[PRELIGHT] = "#7590AE"
fg[PRELIGHT] = "#FFFFFF" # White
xthickness = 1
ythickness = 1
}
widget_class "*ProgressBar*" style "progressbar"
style "vscrollbar"
{
engine "smooth" {
fill
{
style = shaded
hdirection = vertical
vdirection = horizontal
shade1 = 1.05
shade2 = 0.95
}
line
{
style = smooth
thickness = 1
}
trough
{
fill
{
style = solid
}
}
grip
{
style = dots_in
count = 3
spacing = 2
}
focus
{
foreground[ACTIVE] = "#7590AE"
foreground[SELECTED] = "#7590AE"
foreground[NORMAL] = "#7590AE"
foreground[PRELIGHT] = "#7590AE"
}
arrow {
style = cleanice
solid = TRUE
xpadding = 1
ypadding = 1
INSENSITIVE
{
etched = TRUE
}
}
}
}
widget_class "*VScrollbar*" style "vscrollbar"
class "*VScrollbar*" style "vscrollbar"
widget_class "*VScale*" style "vscrollbar"
class "*VScale*" style "vscrollbar"
style "tooltip"
{
bg[NORMAL] = "#FFF1BE" # Variant of Accent Yellow
fg[NORMAL] = "#000000"
engine "smooth"
{
fill
{
style = solid
}
edge
{
line
{
style = flat
}
}
}
}
widget "gtk-tooltips" style "tooltip"
style "textentry"
{
bg[INSENSITIVE] = "#DEDCD7" # Varient of Basic 3D Highlight
base[INSENSITIVE] = "#DEDCD7" # Varient of Basic 3D Highlight
}
widget_class "*GtkEntry" style "textentry"
style "treeview"
{
GtkWidget::focus_padding = 1
}
widget_class "*TreeView*" style "treeview"
|
Edit: I re-emerged gnome and all it's dependencies (emerge -e gnome) and it still does not work. If anyone has any insight on why this would suddenly stop working. I never editted this file before in my life, nor has etc-update ever touched it.
Last edited by irwinr on Sun Jul 03, 2005 5:45 pm; edited 1 time in total |
|