res:dock:: fix tray icon problem.

the tray icons won't be hidden when dock is hidden.