~ubuntu-branches/ubuntu/quantal/ubufox/quantal-security

« back to all changes in this revision

Viewing changes to content/ubuntuHelpMenuOverlay.xul

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2011-07-29 08:14:18 UTC
  • mfrom: (1.1.24 upstream)
  • Revision ID: james.westby@ubuntu.com-20110729081418-jp47q22u7kfr6y01
Tags: 1.0~b1-0ubuntu1
* New upstream release
  - Refactor the update restart notify functionality. The scheduling for
    checking if an update has occurred has been moved in to a JS module shared
    between windows, rather than having every window set up its own timer
    and doing its own checking. Each window registers as a listener on the
    new module
  - Drop all of the ubuntuAltPlugins overlay stuff. We still retain the
    dialog for configuring plugins, but the listeners that fired everytime
    a document was loaded or tab was switched have gone. Instead, the
    information required by the dialog is created when it is launched, rather
    than maintaining a bunch of state on each content document.
  - Clean up the variables that are added to the main window global scope.
    The only variables added now are functions called by menuitem oncommand
    handlers, and these are all namespaced org.ubuntu.Ubufox
  - Hide the translate menuitem in the help menu. It makes no sense to show
    this whilst we aren't using Launchpad for translations
  - Bump maxVersion to 8.0a1

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
 
 
41
 
<overlay id="ubufox-overlay"
42
 
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
43
 
  <script src="overlay.js"/>
44
 
  <stringbundleset id="stringbundleset">
45
 
    <stringbundle id="ubufox-strings" src="chrome://ubufox/locale/ubufox.properties"/>
46
 
  </stringbundleset>
47
 
 
48
 
  <menupopup id="menu_HelpPopup">
49
 
    <menuitem id="ubufox-reportbug" label="&ubufox.launchpad.reportbug.label;" 
50
 
              oncommand="ubufoxReportBug(event);"
51
 
              insertbefore="aboutSeparator"/>
52
 
    <menuitem label="&ubufox.launchpad.gethelponline.label;"
53
 
              oncommand="ubufoxGetHelpOnline(event);"
54
 
              insertbefore="aboutSeparator"/>
55
 
    <menuitem id="ubufox-helptranslate" label="&ubufox.launchpad.helptranslate.label;"
56
 
              oncommand="ubufoxHelpTranslateLaunchpad(event);"
57
 
              insertbefore="aboutSeparator"/>
58
 
  </menupopup>
59
 
</overlay>