How to hide xchat icon from panel?

I am using ubuntu 11.04 and i have installed xchat. How do i hide xchat icon from my panel? Please find the attached screenshot for the reference.enter image description here


Solution 1:

Just noticed you are using the Classic mode of Natty - to hide the tray icon you need to delve into X-Chat's preferences

enter image description here