window: never sync the View As actions for the desktop
Since doing so can set a view_id != NAUTILUS_DESKTOP_CANVAS_VIEW_ID to its view, which will have bad consequences (i.e. a crash) when finalizing the views at application quit. This commit fixes it by making sync_view_as_menus an overriddable class method.
Showing with 31 additions and 12 deletions