Bug#451245: gtk2-engines: Warning seen: /usr/share/themes/Mist/gtk-2.0/gtkrc:6: Invalid symbolic color 'fg_color'

Tim Booth tbooth at ceh.ac.uk
Wed Nov 14 14:48:49 UTC 2007


Hi Loïc,

>  Could you please mention the exact error message?  I don't get any
>  error when using hte Mist theme here.  I would also be curious to know
>  with which application you get this.

I originally noticed the error running gvim, but I also see it with
gnome-theme-manager (I use KDE as my desktop but use a few gnome apps).
I tested a couple more apps at random - eog and gsynaptics - and yes,
the same error appears.

This is what happens in my terminal when I reinstall gtk2-engines and
then re-apply my fix:

tbooth at barsukas[tbooth]sudo aptitude reinstall gtk2-engines
<snip aptitude cruft>
The following packages will be REINSTALLED:
  gtk2-engines
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0
not upgraded.
<snip more aptitude cruft>

tbooth at barsukas[tbooth]gnome-theme-manager
/usr/share/themes/Mist/gtk-2.0/gtkrc:6: Invalid symbolic color 'fg_color'
/usr/share/themes/Mist/gtk-2.0/gtkrc:6: error: invalid identifier `fg_color', expected valid identifier
/usr/share/themes/Mist/gtk-2.0/gtkrc:6: Invalid symbolic color 'fg_color'
/usr/share/themes/Mist/gtk-2.0/gtkrc:6: error: invalid identifier `fg_color', expected valid identifier
/usr/share/themes/Glossy/gtk-2.0/gtkrc:61: error: unexpected identifier `colorize_scrollbar', expected character `}'
/usr/share/themes/Glossy/gtk-2.0/gtkrc:61: error: unexpected identifier `colorize_scrollbar', expected character `}'
tbooth at barsukas[tbooth]gvim /usr/share/themes/Mist/gtk-2.0/gtkrc
/usr/share/themes/Mist/gtk-2.0/gtkrc:6: Invalid symbolic color 'fg_color'
/usr/share/themes/Mist/gtk-2.0/gtkrc:6: error: invalid identifier `fg_color', expected valid identifier

<I now edit the gtkrc file putting in the two underscores>
tbooth at barsukas[tbooth]gnome-theme-manager
/usr/share/themes/Glossy/gtk-2.0/gtkrc:61: error: unexpected identifier `colorize_scrollbar', expected character `}'
/usr/share/themes/Glossy/gtk-2.0/gtkrc:61: error: unexpected identifier `colorize_scrollbar', expected character `}'
tbooth at barsukas[tbooth]gvim
<no errors :-) >

<end of terminal output>

I double-checked that the 'Mist' theme is still selected - it is.  Now
on starting gvim the error is gone, and I have the right theme.  On this
machine it seems pretty clear cut: with hyphens the error appears, with
underscores it does not.  Splitting or joining the line makes no
difference.

BTW - I've not looked into the error with Glossy as I don't use that
theme and can't see an obvious problem.

The machine is running testing fully updated (or possibly a day behind
as the Oxford APT mirror is only updated overnight).

Cheers,

TIM



-- 
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.







More information about the pkg-gnome-maintainers mailing list