samuel%sieb.net 18dc83df05 Bug 128311 - can't drag links from chatzilla
r=rginda a=roc+moz
chatzilla only


git-svn-id: svn://10.0.0.236/trunk@115837 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 18:13:41 +00:00

205 lines
8.4 KiB
XML

<?xml version="1.0"?>
<!--
- 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 JSIRC Test Client #3
-
- The Initial Developer of the Original Code is New Dimensions Consulting,
- Inc. Portions created by New Dimensions Consulting, Inc. are
- Copyright (C) 1999 New Dimenstions Consulting, Inc. All
- Rights Reserved.
-
- Contributor(s):
- Robert Ginda, rginda@ndcico.com, original author
- Josh Soref, timeless@mac.com, international support
- Chiaki Koufugata chiaki@mozilla.gr.jp UI i18n
-->
<!DOCTYPE window SYSTEM "chrome://chatzilla/locale/chatzilla.dtd">
<?xml-stylesheet href="chrome://chatzilla/skin/chatzilla.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
<?xul-overlay href="chrome://chatzilla/content/scripts.xul"?>
<?xul-overlay href="chrome://chatzilla/content/menus.xul"?>
<?xul-overlay href="chrome://chatzilla/content/popups.xul"?>
<window id="chatzilla-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" onload="onLoad();" onunload="onUnload();"
onclose="return onClose();" onmouseover="onMouseOver(event);"
persist="width height screenX screenY" windowtype="irc:chatzilla">
<overlaytarget id="scripts-overlay-target"/>
<overlaytarget id="menu-overlay-target"/>
<overlaytarget id="popup-overlay-target"/>
<vbox id="outer-box" flex="1">
<vbox id="upper-box" flex="1">
<hbox id="tabpanels-contents-box" flex="1">
<vbox id="user-list-box" width="20%" persist="collapsed width">
<tree id="user-list" container="true" datasources="rdf:null" flex="1"
containment="http://home.netscape.com/NC-irc#chanuser"
multiple="true" context="userlistPopup">
<template>
<treechildren flex="1">
<treeitem uri="..." flex="1">
<treerow crop="right">
<treecell align="center">
<image class="op-image"
state="rdf:http://home.netscape.com/NC-irc#op"/>
</treecell>
<treecell align="center">
<image class="voice-image"
state="rdf:http://home.netscape.com/NC-irc#voice"/>
</treecell>
<treecell flex="1">
<text class="user-nick"
isop="rdf:http://home.netscape.com/NC-irc#op"
isvoice="rdf:http://home.netscape.com/NC-irc#voice"
value="rdf:http://home.netscape.com/NC-irc#nick"
flex="1" crop="right"/>
</treecell>
</treerow>
</treeitem>
</treechildren>
</template>
<treecolgroup flex="1">
<treecol align="center"
resource="http://home.netscape.com/NC-irc#op" width="25"/>
<splitter class="tree-splitter"/>
<treecol align="center"
resource="http://home.netscape.com/NC-irc#voice" width="25"/>
<splitter class="tree-splitter"/>
<treecol flex="1"
resource="http://home.netscape.com/NC-irc#nick"/>
</treecolgroup>
<treehead>
<treerow crop="right">
<treecell id="usercol-op"
resource="http://home.netscape.com/NC-irc#op"
class="treecell-header" label="O"
onclick="return onSortCol('usercol-op');"/>
<treecell id="usercol-voice"
resource="http://home.netscape.com/NC-irc#voice"
class="treecell-header" label="V"
onclick="return onSortCol('usercol-voice');"/>
<treecell id="usercol-nick"
resource="http://home.netscape.com/NC-irc#nick"
class="treecell-header sortDirectionIndicator" label="Nick"
onclick="return onSortCol('usercol-nick');"/>
</treerow>
</treehead>
</tree>
</vbox> <!-- user-list-box -->
<splitter id="main-splitter" collapse="before" persist="collapsed left">
<grippy/>
</splitter>
<vbox flex="1">
<toolbox id="header-bar-tbox" crop="right" persist="collapsed">
<toolbar class="chromeclass-toolbar" id="header-bar-tbar"
grippytooltiptext="&header.tooltip;" crop="right">
<hbox flex="1" class="header-box">
<vbox flex="1%">
<label class="header-label" value="&url.label;"/>
<label class="header-label" value="&topic.label;"/>
</vbox>
<vbox flex="99%">
<hbox flex="1">
<hbox flex="1">
<label class="header-data" id="header-url"
ondraggesture="nsDragAndDrop.startDrag(event, tabDNDObserver);"
crop="right"/>
</hbox>
<hbox flex="1">
<label class="header-label" value="&mode.label;"/>
<label class="header-data" id="channel-mode"
crop="right"/>
</hbox>
<hbox flex="1">
<label class="header-label" value="&users.label;"/>
<label class="header-data" id="channel-users"/>
</hbox>
</hbox>
<hbox flex="1">
<hbox flex="1">
<label class="header-data" id="channel-topic" flex="1"
crop="right" onclick="onTopicEditStart()">text</label>
<textbox flex="1" id="channel-topicedit" collapsed="true"/>
</hbox>
</hbox>
</vbox>
</hbox>
</toolbar>
</toolbox>
<browser id="output-iframe" class="output-container" type="content"
flex="1" tooltip="aHTMLTooltip" context="outputContext"
onload="scrollDown();"
onclick="focusInput()"
ondragover="nsDragAndDrop.dragOver(event, contentDropObserver);"
ondragdrop="nsDragAndDrop.drop(event, contentDropObserver);"
ondraggesture="nsDragAndDrop.startDrag(event, contentAreaDNDObserver);"
src="chrome://chatzilla/content/outputwindow.html"/>
</vbox>
</hbox> <!-- tabpanels-contents-box -->
<hbox id="tabstrip-box" flex="0" crop="right">
<scrollbox id="view-tabs" persist="collapsed" orient="horizontal"
flex="1">
<hbox>
<tabs class="tabs-bottom" id="views-tbar-inner" flex="1" crop="right">
<tab collapsed="true"/> <!-- dummy tab to keep the freaking xbl from
causing an exception -->
</tabs>
</hbox>
</scrollbox>
</hbox>
</vbox> <!-- upper-box -->
<splitter id="input-splitter" orient="vertical" collapse="after"
collapsed="true"/>
<hbox id="input-widgets">
<text id="server-nick" value=""/>
<textbox id="multiline-input" multiline="true" flex="1" height="100px"
class="multiline-input-widget" collapsed="true" autostretch="true"
onfocus="onInputFocus();"/>
<textbox id="input" class="input-widget" flex="1" autostretch="true"
onfocus="onInputFocus();"/>
</hbox>
</vbox> <!-- outer-box -->
<statusbar id="status-bar" persist="collapsed">
<statusbarpanel id="component-bar"/>
<statusbarpanel id="status-text" label="&StatusText.label;" flex="1"
crop="right"/>
<statusbarpanel class="statusbarpanel-icononly" id="offline-status"
hidden="true" offline="true"/>
</statusbar>
</window>