~ubuntu-branches/ubuntu/oneiric/ubufox/oneiric-proposed

« back to all changes in this revision

Viewing changes to .pc/06_firefox-4.patch/content/ubuntuAddonsOverlay.ffox2.xul

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2011-01-01 14:30:25 UTC
  • Revision ID: james.westby@ubuntu.com-20110101143025-52ew6ngsqev5gcqn
Tags: 0.9~rc2-0ubuntu7
* Add patch to update for Firefox 4:
  - Rename AboutHome to AboutStartup, and have it handle about:startup now 
    (to not conflict with the new about:home handler in Firefox
  - Set default home page to about:startpage
  - Add support for the XPCOM changes in Gecko 2.0
  - In the restart notifier, don't hardcode a list of filenames for different
    browser versions, but just use MOZ_APP_LAUNCHER instead. This will
    indirectly fix LP: #511250 and should prevent it from happening again
  - Look in the new location for the restart-required trigger, it has moved
    to a location not monitored by update-notifier now, so we only get the
    restart required notification in the browser
  - Merge the plugin finder code from Firefox 4. This now uses AddonManager,
    so the MinVersion needs to be bumped
  - Drop the FF2.0 specific code
  - Drop the AddonsOverlay and associated code, this hasn't worked for
    several releases since we started using software-center, and nobody
    really noticed so far. We can reimplement this at a later date if wanted,
    but it throws JS exceptions when loading in FF4.0 now
  - Specify for the extension to be unpacked by the installer. Without this,
    the prefs aren't used
  - Get the distributionID field for the pfs URL from the preferences, rather
    than hard-coding a value

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!-- ***** BEGIN LICENSE BLOCK *****
 
3
  -   Version: MPL 1.1/GPL 2.0/LGPL 2.1
 
4
  -
 
5
  - The contents of this file are subject to the Mozilla Public License Version
 
6
  - 1.1 (the "License"); you may not use this file except in compliance with
 
7
  - the License. You may obtain a copy of the License at
 
8
  - http://www.mozilla.org/MPL/
 
9
  - 
 
10
  - Software distributed under the License is distributed on an "AS IS" basis,
 
11
  - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 
12
  - for the specific language governing rights and limitations under the
 
13
  - License.
 
14
  -
 
15
  - The Original Code is distro-mods.
 
16
  -
 
17
  - The Initial Developer of the Original Code is
 
18
  - Canonical Ltd.
 
19
  - Portions created by the Initial Developer are Copyright (C) 2007
 
20
  - the Initial Developer. All Rights Reserved.
 
21
  -
 
22
  - Contributor(s):
 
23
  -
 
24
  - Alternatively, the contents of this file may be used under the terms of
 
25
  - either the GNU General Public License Version 2 or later (the "GPL"), or
 
26
  - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 
27
  - in which case the provisions of the GPL or the LGPL are applicable instead
 
28
  - of those above. If you wish to allow use of your version of this file only
 
29
  - under the terms of either the GPL or the LGPL, and not to allow others to
 
30
  - use your version of this file under the terms of the MPL, indicate your
 
31
  - decision by deleting the provisions above and replace them with the notice
 
32
  - and other provisions required by the GPL or the LGPL. If you do not delete
 
33
  - the provisions above, a recipient may use your version of this file under
 
34
  - the terms of any one of the MPL, the GPL or the LGPL.
 
35
  - 
 
36
  - ***** END LICENSE BLOCK ***** -->
 
37
 
 
38
<?xml-stylesheet href="chrome://ubufox/skin/overlay.css" type="text/css"?>
 
39
<!DOCTYPE overlay SYSTEM "chrome://ubufox/locale/ubufox.dtd">
 
40
<overlay id="ubufox-overlay"
 
41
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
42
  <script src="overlay.js"/>
 
43
  <stringbundleset id="stringbundleset">
 
44
    <stringbundle id="ubufox-strings" src="chrome://ubufox/locale/ubufox.properties"/>
 
45
  </stringbundleset>
 
46
 
 
47
  <hbox id="commandBarBottom">
 
48
    <label id="getUbuntu" getMoreURL="http://www.google.com" class="text-link" 
 
49
           onclick="return startUbuntuAddonsWizard(event);"
 
50
           onload="ubufoxCheckExecutable();"
 
51
           value="&ubufox.getubuntuextension;"/>
 
52
  </hbox>
 
53
</overlay>