diff chrome/content/crashreports/sidebar.xul @ 2:472a16863ecc

expanded nightly.jar
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 02 Dec 2008 20:38:20 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/chrome/content/crashreports/sidebar.xul	Tue Dec 02 20:38:20 2008 +0900
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE window [
+<!ENTITY % nightlyDTD SYSTEM "chrome://nightly/locale/nightly.dtd">
+%nightlyDTD;
+<!ENTITY % leaksDTD SYSTEM "chrome://nightly/locale/leaks.dtd">
+%leaksDTD;
+]>
+
+<?xml-stylesheet href="chrome://global/skin/global.css"?>
+<?xml-stylesheet href="chrome://nightly/skin/crashreports/sidebar.css"?>
+
+<page id="CrashReportsSidebar" onload="sidebar.init();"
+      xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+  
+  <script src="sidebar.js"/>
+  
+  <popupset>
+    <popup id="crashReportContext" onpopupshowing="return sidebar.checkPopup(event)">
+      <menuitem oncommand="sidebar.copy(event)" label="&nightly.crashreports.copyid;"/>
+    </popup>
+  </popupset>
+  
+  <vbox id="loading" align="center" pack="center" flex="1">
+    <label style="font-size: 150%;" value="&nightly.leaks.loading.label;"/>
+  </vbox>
+  
+  <tree id="tree" hidden="true" flex="1" seltype="single" onkeypress="if (event.keyCode==13) sidebar.selectedCommand(event);">
+    <treecols>
+      <treecol id="incidentID" label="&nightly.crashreports.id;" primary="true" flex="1" persist="width"/>
+      <splitter class="tree-splitter"/>
+      <treecol id="incidentDate" label="&nightly.crashreports.date;" flex="2" hidden="true" persist="width hidden"/>
+    </treecols>
+    
+    <treechildren id="treeroot" context="crashReportContext"
+                  onclick="if (event.button==1) sidebar.clickCommand(event);"
+                  ondblclick="if (event.button==0) sidebar.clickCommand(event);"/>
+  </tree>
+
+</page>