Remove dead code and trailing whitespaces from the show desktop applet

The on_window_mapped function is no longer called since commit 3dbacb53d536995b9fa02e8fed6667a81c301b0e, so it can be removed.