Skip to content

Commit

Permalink
Show the default theme in the addons manager.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonny Piers committed Mar 9, 2010
1 parent a6b1b0b commit 4c3d796
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 2 deletions.
2 changes: 1 addition & 1 deletion defaults/preferences/pref.js
@@ -1,4 +1,4 @@
pref ("general.skins.selectedSkin","");
pref ("general.skins.selectedSkin", "classic/1.0");

pref("chat.connection.priority", 5);
pref("chat.connection.base", "http-poll");
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions extensions/{88bf52fd-951f-433d-9fc9-6228c93aba98}/install.rdf
@@ -0,0 +1,41 @@
<?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>{88bf52fd-951f-433d-9fc9-6228c93aba98}</em:id>
<em:version>1.0</em:version>

<!-- Target Application this theme can install into,
with minimum and maximum supported versions. -->
<em:targetApplication>
<Description>
<em:id>{3aea3f07-ffe3-4060-bb03-bff3a5365e90}</em:id>
<em:minVersion>0.1</em:minVersion>
<em:maxVersion>1.0</em:maxVersion>
</Description>
</em:targetApplication>

<!-- Front End MetaData -->
<em:name>Default</em:name>
<em:description>The default theme.</em:description>

<!-- EXTENSION AUTHORS!
DO NOT COPY THIS PROPERTY INTO YOUR INSTALL RDF FILES
It will cause users not to be informed of incompatibilities
with your extension when they are updated with Software Update
and your extension will become unavailable to them!
-->
<em:appManaged>true</em:appManaged>

<em:locked>true</em:locked>

<!-- Front End Integration Hooks (used by Theme Manager)-->
<em:creator>Process-One</em:creator>

<em:internalName>classic/1.0</em:internalName>
</Description>

</RDF>
2 changes: 1 addition & 1 deletion tools/perl5lib/OneTeam/Builder/Filter/Saver/XulApp.pm
Expand Up @@ -82,7 +82,7 @@ sub _prepare_files {
$ai =~ s/(version\s*=\s*)[^\n]*/$1.$self->{version}->()/ei;
$ai =~ s/(buildid\s*=\s*)[^\n]*/$1.$self->{buildid}->()/ei;
print_to_file(catfile($tmppfxdir, "application.ini"), $ai);

dircopy("extensions", catdir($tmppfxdir, 'extensions'));
dircopy(catdir(qw(chrome icons)), catdir($chromedir, 'icons'));
}

Expand Down

0 comments on commit 4c3d796

Please sign in to comment.