Closed Bug 360942 Opened 19 years ago Closed 13 years ago

Can't Create a Default Theme Entry in Addons/Themes for xulrunner my app

Categories

(Toolkit Graveyard :: XULRunner, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mrtech, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 is there any way to get a default theme entry in the addons manager for xulrunner (MOZILLA_1_8_BRANCH)? Sample install.rdf below. Without a default entry it's impossible for a normal user to revert back to the base theme. Additionally need to test uninstalling newer themes and making sure that classic/1.0 is the fallback, etc. Reproducible: Always Steps to Reproduce: 1. create {94084226-8526-44de-9482-F582355EDE4E} folder under xulrunner/extensions 2. create and copy install.rdf from snippet below 3. change targetApplication to your application id in the install.rdf 4. start xulrunner application Actual Results: Chrome Registration error and no entry in addons/themes. Expected Results: No error and a default locked theme entry in addons manager. <?xml version="1.0"?> <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> <Description about="urn:mozilla:install-manifest"> <em:id>{94084226-8526-44de-9482-F582355EDE4E}</em:id> <em:version>1.0</em:version> <em:name>my theme (default)</em:name> <em:description>The default theme</em:description> <em:creator>Mel Reyes</em:creator> <em:internalName>classic/1.0</em:internalName> <em:appManaged>true</em:appManaged> <em:locked>true</em:locked> <em:targetApplication> <Description> <em:id>myxulrunnerapp@mrtech.com</em:id> <em:minVersion>1.0</em:minVersion> <em:maxVersion>1.0.0.*</em:maxVersion> </Description> </em:targetApplication> </Description> </RDF>
The default theme ID must be 972ce4c6-7e08-4474-a285-3208198ce6fd
that resolved it for me, but where do I put the icon and preview.png? Will do some testing to see where/if it will read it in.
Take a look at the contents of any default theme for those images and place them in the same place with the same name.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.