Adapt for gedit desktop file rename
Fix typo in recent refactoring