It seems the list of applications shown permanently in the applet is from
Code:
/usr/share/indicators/messages/applications
Each file is a plaintext file that contains the path to a .desktop file where the description and command are loaded from. There's a bit of information about indicators (and their changes in 9.10) here.