Fix window glade file by removing obsolete code