The shell looks at the WMNAME for the applet when choosing to hide it, or show it.
- For most applets, gtk_status_icon_set_name() isn't called, we just need to change the binary name. Create a symbolic link to your binary with a different name (say, "test-applet"), and launch your application from that.
- If the applet calls gtk_status_icon_set_name(), just name it differently. Unfortunately, that will require recompilation.