2005-08-05 00:02:24 +00:00
|
|
|
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
|
|
|
|
|
|
|
|
<!-- ***** BEGIN LICENSE BLOCK *****
|
|
|
|
Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
|
|
|
|
The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
|
|
|
http://www.mozilla.org/MPL/
|
|
|
|
|
|
|
|
Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
for the specific language governing rights and limitations under the
|
|
|
|
License.
|
|
|
|
|
|
|
|
The Original Code is Mozilla Communicator client code, released
|
|
|
|
March 31, 1998.
|
|
|
|
|
|
|
|
The Initial Developer of the Original Code is
|
|
|
|
Netscape Communications Corporation.
|
|
|
|
Portions created by the Initial Developer are Copyright (C) 1998-2000
|
|
|
|
the Initial Developer. All Rights Reserved.
|
|
|
|
|
|
|
|
Contributor(s):
|
2005-09-13 18:40:56 +00:00
|
|
|
Marcio S. Galli, mgalli@geckonnection.com
|
2005-08-08 21:32:24 +00:00
|
|
|
|
2005-08-05 00:02:24 +00:00
|
|
|
Alternatively, the contents of this file may be used under the terms of
|
|
|
|
either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
of those above. If you wish to allow use of your version of this file only
|
|
|
|
under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
use your version of this file under the terms of the MPL, indicate your
|
|
|
|
decision by deleting the provisions above and replace them with the notice
|
|
|
|
and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
the provisions above, a recipient may use your version of this file under
|
|
|
|
the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
|
|
|
|
***** END LICENSE BLOCK ***** -->
|
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
|
|
|
|
<?xml-stylesheet href="chrome://minimo/skin/minimo.css" type="text/css"?>
|
|
|
|
|
|
|
|
|
|
|
|
<!DOCTYPE window [
|
|
|
|
<!ENTITY % minimoDTD SYSTEM "chrome://minimo/locale/minimo.dtd" >
|
|
|
|
%minimoDTD;
|
2005-08-25 21:47:06 +00:00
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
|
|
|
|
%brandDTD;
|
|
|
|
|
2005-08-05 00:02:24 +00:00
|
|
|
]>
|
|
|
|
|
|
|
|
<window id="main-window"
|
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
orient="vertical"
|
|
|
|
title="Minimo"
|
|
|
|
titlemodifier="Minimo"
|
|
|
|
titlemenuseparator=" - "
|
|
|
|
onload="MiniNavStartup()"
|
|
|
|
onunload="MiniNavShutdown()">
|
|
|
|
|
|
|
|
<script type="application/x-javascript" src="chrome://minimo/content/minimo.js"/>
|
2005-09-15 17:50:11 +00:00
|
|
|
<script type="application/x-javascript" src="chrome://minimo/content/rssview/rssload.js"/>
|
2005-08-05 00:02:24 +00:00
|
|
|
|
2005-08-21 01:17:59 +00:00
|
|
|
<popupset id="mainPopupSet">
|
|
|
|
<popup type="autocomplete" id="PopupAutoComplete"/>
|
|
|
|
</popupset>
|
|
|
|
|
2005-08-05 00:02:24 +00:00
|
|
|
<toolbox>
|
2005-08-08 21:32:24 +00:00
|
|
|
|
|
|
|
<command id="cmd_BrowserOpenTab" oncommand="BrowserOpenTab()"/>
|
2005-09-02 23:37:10 +00:00
|
|
|
<command id="cmd_BrowserScreenRotate" oncommand="BrowserScreenRotate()"/>
|
2005-08-08 21:32:24 +00:00
|
|
|
<command id="cmd_BrowserOpenInfo" oncommand="BrowserOpenInfo()"/>
|
|
|
|
<command id="cmd_BrowserTestDialogs" oncommand="BrowserTestDialogs()"/>
|
|
|
|
<command id="cmd_BrowserTestSendSMS" oncommand="BrowserTestSendSMS()"/>
|
2005-08-25 21:47:06 +00:00
|
|
|
<command id="cmd_ViewOptions" oncommand="BrowserViewOptions()"/>
|
|
|
|
<command id="cmd_BrowserBack" oncommand="BrowserBack()" />
|
|
|
|
<command id="cmd_BrowserForward" oncommand="BrowserForward()" />
|
|
|
|
<command id="cmd_BrowserReload" oncommand="BrowserReload()" />
|
|
|
|
<command id="cmd_BrowserZoomPlus" oncommand="BrowserResetZoomPlus()" />
|
|
|
|
<command id="cmd_BrowserZoomMinus" oncommand="BrowserResetZoomMinus()" />
|
2005-09-15 17:50:11 +00:00
|
|
|
<command id="cmd_DoPanelPreferences" oncommand="DoPanelPreferences()" />
|
|
|
|
<command id="cmd_DoBrowserRSS" oncommand="DoBrowserRSS()" />
|
|
|
|
|
2005-08-08 21:32:24 +00:00
|
|
|
<toolbar id="nav-bar">
|
2005-08-05 00:02:24 +00:00
|
|
|
<menubar class="chromeclass-menubar">
|
2005-08-12 02:19:52 +00:00
|
|
|
<menu id="menu-button" >
|
|
|
|
<menupopup>
|
2005-08-21 01:17:59 +00:00
|
|
|
<menuitem id="command_BrowserOpenTab" command="cmd_BrowserOpenTab" label="New Tab" />
|
2005-09-15 17:50:11 +00:00
|
|
|
<menuitem id="command_DoBrowserRSS" command="cmd_DoBrowserRSS" label="RSS slashdot" />
|
2005-09-02 23:37:10 +00:00
|
|
|
|
|
|
|
<!-- not working just yet.
|
|
|
|
<menuitem id="command_BrowserScreenRotate" command="cmd_BrowserScreenRotate" label="Rotate Screen" />
|
|
|
|
-->
|
2005-08-26 17:24:09 +00:00
|
|
|
<menuitem id="command_DoPanelPreferences" command="cmd_DoPanelPreferences" label="&prefs.label;" />
|
|
|
|
<!-- separator for now in CSS - need to redesign -->
|
|
|
|
<menuitem id="command_ViewOptions" style='border-top:1px solid black' type="checkbox" command="cmd_ViewOptions" label="View Options" />
|
2005-08-21 01:17:59 +00:00
|
|
|
|
2005-08-08 21:32:24 +00:00
|
|
|
<!--
|
|
|
|
<menuitem id="command_BrowserOpenInfo" label="page Info" />
|
|
|
|
<menuitem id="command_BrowserTestDialogs" label="Dialog XUL" />
|
|
|
|
<menuitem id="command_BrowserTestSendSMS" label="Send SMS"/>
|
|
|
|
-->
|
2005-08-05 00:02:24 +00:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
</menubar>
|
|
|
|
|
|
|
|
<toolbarbutton id="back-button" onclick="BrowserBack()"/>
|
|
|
|
<toolbarbutton id="forward-button" onclick="BrowserForward()"/>
|
|
|
|
<toolbarbutton id="reload-stop-button" class="reload-button" onclick="BrowserReload()"/>
|
2005-08-21 01:17:59 +00:00
|
|
|
|
|
|
|
<textbox id="urlbar"
|
|
|
|
flex="100%"
|
|
|
|
type="autocomplete"
|
|
|
|
enablehistory="true"
|
|
|
|
autocompletesearch="history"
|
|
|
|
completeselectedindex="true"
|
|
|
|
autocompletepopup="PopupAutoComplete"
|
|
|
|
onfocus="URLBarFocusHandler();"
|
|
|
|
ontextentered="return URLBarEntered();"/>
|
|
|
|
|
2005-08-05 00:02:24 +00:00
|
|
|
</toolbar>
|
2005-08-25 21:47:06 +00:00
|
|
|
<toolbar id="toolbar-view" flex="1" collapsed="true" >
|
|
|
|
<groupbox flex="1" class="box-floatoptions">
|
|
|
|
<caption label="Page View"/>
|
|
|
|
<hbox flex="1" >
|
|
|
|
<vbox flex="1" style="padding:4px ! important">
|
|
|
|
|
|
|
|
<hbox flex="1" style="margin-top:4px ! important">
|
|
|
|
<label value="&zoomText.label;" />
|
|
|
|
<toolbarbutton class="button-border" command="cmd_BrowserZoomPlus" label="&zoomTextPlus.label;" />
|
|
|
|
<toolbarbutton class="button-border" command="cmd_BrowserZoomMinus" label="&zoomTextMinus.label;" />
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
<vbox>
|
|
|
|
<toolbarbutton class="button-close" width="10" height="10" align="top" flex="0" id="close-button" onclick="document.getElementById('toolbar-view').collapsed=true"/>
|
|
|
|
</vbox>
|
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
|
|
|
</toolbar>
|
|
|
|
|
2005-08-05 00:02:24 +00:00
|
|
|
</toolbox>
|
|
|
|
|
|
|
|
<hbox flex="1" >
|
|
|
|
<hbox id="appcontent" flex="100%">
|
|
|
|
<hbox id="browser" context="context" flex="1">
|
2005-08-21 01:17:59 +00:00
|
|
|
<tabbrowser contentcontextmenu="contentAreaContextMenu"
|
2005-08-31 17:05:59 +00:00
|
|
|
context="context" disablehistory="false"
|
2005-08-21 01:17:59 +00:00
|
|
|
type="content-primary"
|
|
|
|
id="content"
|
|
|
|
src="about:blank"
|
|
|
|
flex="1"
|
|
|
|
autocompletepopup="PopupAutoComplete"
|
|
|
|
onnewtab="BrowserOpenTab()"/>
|
2005-08-05 00:02:24 +00:00
|
|
|
</hbox>
|
|
|
|
</hbox>
|
|
|
|
</hbox>
|
|
|
|
|
2005-08-12 02:09:16 +00:00
|
|
|
<!-- place holder for our app popups and hook to the overlay -->
|
|
|
|
<popupset>
|
|
|
|
<popup id="contentAreaContextMenu" onpopupshowing="BrowserPopupShowing()">
|
2005-08-23 15:21:09 +00:00
|
|
|
<menuitem id="item-call" label="" insertbefore="context-sep-view" oncommand=""/>
|
|
|
|
<menuitem id="full_screen" label="Toggle FullScreen" oncommand="DoFullScreen()"/>
|
|
|
|
<menuitem id="item-copy" label="Copy" oncommand="DoClipCopy()" />
|
|
|
|
<menuitem id="item-paste" label="Paste" oncommand="DoClipPaste()"/>
|
2005-08-12 02:09:16 +00:00
|
|
|
</popup>
|
2005-08-23 15:21:09 +00:00
|
|
|
|
|
|
|
<!-- somehow tabbedbrowser needs this. Have to check its implementation and eliminate -->
|
|
|
|
<popup id="menu_FilePopup">
|
|
|
|
<menuitem id="menu_close"/>
|
2005-08-12 02:09:16 +00:00
|
|
|
<menuitem id="menu_closeWindow" command="cmd_closeWindow" key="key_closeWindow" label="about" />
|
|
|
|
</popup>
|
|
|
|
</popupset>
|
|
|
|
|
2005-08-05 00:02:24 +00:00
|
|
|
</window>
|
|
|
|
|