fix bug 940978 - Ellipsize quick links

https://bugzilla.mozilla.org/show_bug.cgi?id=940978