Yeah, they use hot glue guns to hold electronic stuff together a lot. Its a quick method since the glue dries rapidly.
Here's a forum where they discuss it:
http://www.hardforum.com/archive/ind.../t-713664.html
In fact, here's a relevant quote from it: "I've worked on name-brand computers where a lot of your connections were hot-glued down to keep them from coming loose, people opening the case and messing with them, etc."