I recently installed Ubuntu 10.04 and installed the Win2-7 theme. This comes with a Windows 7 style grouping of applications on the taskbar. This annoyed me and I tried to ungroup it. Unfortunately, this was not possible.
After a bit of googling, I found this old post. It no longer applies to the current code, so I worked around it using that post. Here is what I did: