Closed Bug 59558 Opened 24 years ago Closed 24 years ago

cannot uninstall skins via component as spec'd

Categories

(Core Graveyard :: Skinability, defect, P3)

All
Mac System 8.5
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9

People

(Reporter: andreww, Assigned: hyatt)

References

Details

Attachments

(1 file)

in nsiChromeRegistry.idl there is a method which is supposed to allow you to 
uninstall a theme:

http://lxr.mozilla.org/seamonkey/source/rdf/chrome/public/
nsIChromeRegistry.idl#86

I modified the pref-themes.xul :
http://lxr.mozilla.org/seamonkey/source/xpfe/components/prefwindow/resources/﷒0﷓

to add a button which would call the uninstallskin method, using the same 
argument that "selectskin" uses.

Instead of the skin being removed, I get the following error:
uncaught exception: [Exception... "Component returned failure code:
0x800004003 (NS_ERROR_INVALID_POINTER) [nsIChromeRegistry.uninstallSkin]" 
nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: 

etc. etc.....
changing owner...
Assignee: hangas → hyatt
->moz0.9
Target Milestone: --- → mozilla0.9
changing component to skinability
Component: Themes → Skinability
Blocks: 58706
Ready for r and sr.
Status: NEW → ASSIGNED
[s]r=waterson. nice, you sexy RDF bastard.
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Marking verified on Mac.
Status: RESOLVED → VERIFIED
Is this really fixed? I don't see an uninstall button under Themes - Prefs!
Peter, this looks to be the back-end work.  I filed a bug about adding something
to the prefs panel as bug 71194.
The API now works.  This bug is not covering the UI aspect.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: