Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142061 - x11-themes/gtk-engines-2.6.9 incorrect syntax in some theme's gtkrc file
Summary: x11-themes/gtk-engines-2.6.9 incorrect syntax in some theme's gtkrc file
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-28 23:47 UTC by Jong hun Shin
Modified: 2006-08-06 04:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jong hun Shin 2006-07-28 23:47:53 UTC
on gtk-engines-2.6.9, some theme's gtkrc file has incorrect syntax.

in Gtk+-2.10.1 environment(I think older Gtk+ versions ignore incorrect syntax in gtkrc file. huh), gnome-theme-manager shows error messages:

The following error message is issued:
/usr/share/themes/Industrial/gtk-2.0/gtkrc:29: error: invalid identifier `xthickness', expected valid identifier

x11-themes/gtk-engines-2.6.9, Gorilla theme has same problem, too.

correction :
in /usr/share/themes/Gorilla/gtk-2.0/gtkrc file at 30 line:

<< GtkMenuItem::selected_shadow_type = GTK_SHADOW_IN
>> GtkMenuItem::selected_shadow_type = "GTK_SHADOW_IN"

/usr/share/themes/Industrial/gtk-2.0/gtkrc file at 24 line, too:

<< GtkMenuItem::selected_shadow_type = GTK_SHADOW_IN
>> GtkMenuItem::selected_shadow_type = "GTK_SHADOW_IN"

IMHO, It must be correct by upstream packagers, but I don't know who is the "gtk-engines" maintainer, so I commit this bug in gentoo bugzilla.

thanks, and sorry for my poor english.
Comment 1 Andrea Rizzolo 2006-08-03 11:05:08 UTC
I have 
error: invalid identifier `xthickness', expected valid identifier
and others -if I comment out xthickness, ythickness and so on- like:
error: invalid identifier `bg', expected valid identifier.
this began after gtk upgrade from 2.8.x to 2.10.x.
Comment 2 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-08-03 19:37:45 UTC
If you want to use gtk+-2.10, you'll likely need all kinds of packages from the overlay.  In this case, I tried those themes with gtk-engines-2.7.6 from the overlay, and they work fine.

Overlay is at http://overlays.gentoo.org/proj/gnome/wiki
Comment 3 Andrea Rizzolo 2006-08-06 04:09:16 UTC
no way, those errors remain.After upgrading gtk-engines to 2.7.6 I also tried to recompile gtk and other related stuff..but some themes still dont work