applet: fix displaying connection information for VPN (rh #1099489)

and reuse some code.

https://bugzilla.redhat.com/show_bug.cgi?id=1099489