Same as in Windows 7; the button becomes a progress meter and fills up as the task finishes. Useful for large/slow file operations (including ones over networks, such as downloads), and background tasks that have their own windows.
There is no standard API for this in the library that we use (libwnck) so this can't be fixed for the time being.