Simplify anykey function in chart-gtk, to avoid API change in string usage