Status

()

Toolkit
XUL Widgets
--
minor
RESOLVED INVALID
10 years ago
10 years ago

People

(Reporter: Fred Jendrzejewski, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

544 bytes, application/vnd.mozilla.xul+xml
Details
(Reporter)

Description

10 years ago
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.

Updated

10 years ago
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?
(Reporter)

Comment 2

10 years ago
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.
(Reporter)

Comment 3

10 years ago
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
Resolution: FIXED → INVALID
You need to log in before you can comment on or make changes to this bug.