followline, initial port of the Gtk+ version