Regaining flash control functionality on Youtube in Ubuntu

I've been upgrading my wife's laptop to Lucid Lynx today, and I've finally had a chance to track down one little bug that's been annoying her. On Youtube, flash controls don't work on videos; she can't close ads, the volume/mute controls don't work, and so on. This is a 64-bit machine, but 32-bit flash (natch).

The solution, as detailed here (post 42!), is to edit /usr/lib/nspluginwrapper/i386/linux/npviewer and insert this before the last line:

export GDK_NATIVE_WINDOWS=1

Restart the browser, and now it all works!