Closed
Bug 978853
Opened 10 years ago
Closed 10 years ago
sdk/ui/button doesn't render icons under Linux
Categories
(Add-on SDK Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: mmc, Unassigned)
References
Details
Attachments
(1 file)
12.31 KB,
application/x-compressed-tar
|
Details |
I haven't tested other platforms. STR: 1) Make the simplest possible addon using sdk/ui/button (see attached tarball) 2) No icon appears in nav toolbar or customization menu From the logs: (firefox:24517): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised [24517] WARNING: Attempt to add property GnomeProgram::default-icon after class was initialised: 'glib warning', file /builds/slave/m-cen-l64-ntly-000000000000000/build/toolkit/xre/nsSigHandlers.cpp, line 127
Comment 1•10 years ago
|
||
Matteo can you check this out please, we may need to add this to the list of urgent items for Aurora. Monica, why does this depend on bug 978838?
Flags: needinfo?(zer0)
Comment 2•10 years ago
|
||
The icons needs to be in the `data` folder, as any other regular assets. > icon: a string in the form "./iconfile", where "iconfile" is a relative path to the icon file beginning in your add-on's "data" directory (https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/ui_button_action) Let me know if it's working in that way.
Updated•10 years ago
|
Flags: needinfo?(zer0)
Reporter | ||
Comment 3•10 years ago
|
||
(In reply to Matteo Ferretti [:matteo] [:zer0] from comment #2) > The icons needs to be in the `data` folder, as any other regular assets. > > > icon: a string in the form "./iconfile", where "iconfile" is a relative path to the icon file beginning in your add-on's "data" directory > (https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/ > ui_button_action) > > Let me know if it's working in that way. Yes, that seemed to work. Thanks.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•