Comment 28 for bug 222636

Revision history for this message
In , Roc-ocallahan (roc-ocallahan) wrote :

(In reply to comment #21)
> Of course, mapping the textClickable argument for showAlertNotification() to
> whether the text argument is an action or not may not always be pretty, but
> it's certainly possible.

Yeah.
http://mxr.mozilla.org/mozilla-central/source/toolkit/components/alerts/public/nsIAlertsService.idl
Seems like if textIsClickable is true, we can just put the entire text in a button. Otherwise we leave the text as-is. A bit ugly, but comports with the current interface.