fbxkb is
NETWM compliant keyboard indicator and switcher. It shows a flag of current keyboard in a systray area and allows you to switch to another one.
It's written in C and uses the
GTK+-2.4 library only (no GNOME is needed).
Latest version is fbxkb-0.6