User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9) Gecko/2008061015 Firefox/3.0 Build Identifier: The following code doesn't add an image to a listitem: listitem.setAttribute("class", "item-iconic"); listitem.setAttribute("image", "moz-icon://dummy.html"); The same problem exists for any other uri. Reproducible: Always Expected Results: I want a listitem with image and text.
Component: General → XUL Widgets
Product: Calendar → Toolkit
QA Contact: general → xul.widgets
Does it work if you use a different URI (e.g. http or chrome)? Can you attach the testcase?
Created attachment 329278 [details] Testcase The function works with an interneteditor called: xuledit, but not in the calendar for me. And I never found a url/uri or whatever that worked for me until now. Didn't try chrome.
The problem were missing libraries, when I built under linux. You have to install the libgnomui-dev under Ubuntu. I think that we can mark this bug fixed.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.