Skip to content

Instantly share code, notes, and snippets.

@ropery
Created April 24, 2011 09:52
Show Gist options
  • Save ropery/939454 to your computer and use it in GitHub Desktop.
Save ropery/939454 to your computer and use it in GitHub Desktop.
Index: src/skin/livehttpheaders.css
===================================================================
RCS file: /cvs/livehttpheaders/src/skin/livehttpheaders.css,v
retrieving revision 1.8
diff -u -r1.8 livehttpheaders.css
--- src/skin/livehttpheaders.css 9 Feb 2010 17:01:37 -0000 1.8
+++ src/skin/livehttpheaders.css 3 Jul 2010 12:41:53 -0000
@@ -1,4 +1,4 @@
-/*-------------------------------------------------------*/
+/*-------------------------------------------------------*/
/* This is to add a toolbar button */
#livehttpheaders-toolbar-button
@@ -29,7 +29,19 @@
/*-------------------------------------------------------*/
/* Set text color for the whole tree - just to be safe */
-.livehttpheaders treechildren {
+.livehttpheaders treechildren[flex="1"]:-moz-tree-cell-text(URL),
+.livehttpheaders treechildren:-moz-tree-cell-text(SingleRequest),
+.livehttpheaders treechildren:-moz-tree-cell-text(FirstRequest),
+.livehttpheaders treechildren:-moz-tree-cell-text(MidRequest),
+.livehttpheaders treechildren:-moz-tree-cell-text(LastRequest),
+.livehttpheaders treechildren:-moz-tree-cell-text(SinglePostData),
+.livehttpheaders treechildren:-moz-tree-cell-text(FirstPostData),
+.livehttpheaders treechildren:-moz-tree-cell-text(MidPostData),
+.livehttpheaders treechildren:-moz-tree-cell-text(LastPostData),
+.livehttpheaders treechildren:-moz-tree-cell-text(SingleResponse),
+.livehttpheaders treechildren:-moz-tree-cell-text(FirstResponse),
+.livehttpheaders treechildren:-moz-tree-cell-text(MidResponse),
+.livehttpheaders treechildren:-moz-tree-cell-text(LastResponse) {
color: #000000;
}
@@ -166,3 +178,16 @@
/* This is to suppress the space between each row */
.livehttpheaders treechildren:-moz-tree-row {border: 0px solid;}
+/* Restore selection colors in style sheet mode. */
+.livehttpheaders treechildren[flex="1"]:-moz-tree-cell(selected) {
+ background: -moz-CellHighlight;
+}
+.livehttpheaders treechildren[flex="1"]:-moz-tree-cell-text(selected) {
+ color: -moz-CellHighlightText;
+}
+.livehttpheaders treechildren[flex="1"]:-moz-tree-cell(selected, focus) {
+ background: Highlight;
+}
+.livehttpheaders treechildren[flex="1"]:-moz-tree-cell-text(selected, focus) {
+ color: HighlightText;
+}
Index: src/install.rdf
===================================================================
RCS file: /cvs/livehttpheaders/src/install.rdf,v
retrieving revision 1.17
diff -u -r1.17 install.rdf
--- src/install.rdf 9 Feb 2010 17:01:34 -0000 1.17
+++ src/install.rdf 24 Apr 2011 07:54:49 -0000
@@ -14,7 +14,7 @@
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>0.8</em:minVersion>
- <em:maxVersion>3.6.*</em:maxVersion>
+ <em:maxVersion>4.0.*</em:maxVersion>
</Description>
</em:targetApplication>
<!-- Flock -->
Index: src/content/Generator.xul
===================================================================
RCS file: /cvs/livehttpheaders/src/content/Generator.xul,v
retrieving revision 1.6
diff -u -r1.6 Generator.xul
--- src/content/Generator.xul 9 Feb 2010 21:32:34 -0000 1.6
+++ src/content/Generator.xul 24 Apr 2011 07:54:50 -0000
@@ -52,7 +52,7 @@
-->
<popupset id="popupset">
- <popup id="generator-context">
+ <menupopup id="generator-context">
<menuitem label="&livehttpheaders.live.copy;"
observes="gen-datapresent"
oncommand="livehttpheaders.generator.oGenerator.copy();" />
@@ -75,7 +75,7 @@
<menuitem label="&livehttpheaders.live.clear;"
observes="gen-datapresent"
oncommand="livehttpheaders.generator.oGenerator.clear();" />
- </popup>
+ </menupopup>
</popupset>
<broadcasterset id="broadcasterset">
Index: src/content/LiveHTTPHeaders.xul
===================================================================
RCS file: /cvs/livehttpheaders/src/content/LiveHTTPHeaders.xul,v
retrieving revision 1.20
diff -u -r1.20 LiveHTTPHeaders.xul
--- src/content/LiveHTTPHeaders.xul 9 Feb 2010 21:32:35 -0000 1.20
+++ src/content/LiveHTTPHeaders.xul 24 Apr 2011 07:54:50 -0000
@@ -50,7 +50,7 @@
<html:link rel="icon" href="chrome://livehttpheaders/skin/favicon.ico" style="display: none;"/>
<popupset id="popupset">
- <popup id="headerinfo-context">
+ <menupopup id="headerinfo-context">
<menuitem label="&livehttpheaders.live.copy;"
observes="datapresent"
oncommand="livehttpheaders.live.oHeaderInfoLive.copy();" />
@@ -71,7 +71,7 @@
<menuitem label="&livehttpheaders.live.clear;"
observes="datapresent"
oncommand="livehttpheaders.live.oHeaderInfoLive.clear();" />
- </popup>
+ </menupopup>
</popupset>
<broadcasterset id="broadcasterset">
Index: src/content/LiveHTTPReplay.xul
===================================================================
RCS file: /cvs/livehttpheaders/src/content/LiveHTTPReplay.xul,v
retrieving revision 1.7
diff -u -r1.7 LiveHTTPReplay.xul
--- src/content/LiveHTTPReplay.xul 9 Feb 2010 21:32:35 -0000 1.7
+++ src/content/LiveHTTPReplay.xul 24 Apr 2011 07:54:50 -0000
@@ -42,7 +42,7 @@
</keyset>
<popupset>
- <popup id="headerinfo-context">
+ <menupopup id="headerinfo-context">
<menuitem label="&livehttpheaders.live.copy;"
oncommand="livehttpheaders.live.oHeaderInfoLive.copy();" />
<menuitem label="&livehttpheaders.live.selectblock;"
@@ -50,7 +50,7 @@
<menuitem label="&livehttpheaders.live.selectall;"
oncommand="livehttpheaders.live.oHeaderInfoLive.selectAll();" />
<menuseparator/>
- </popup>
+ </menupopup>
</popupset>
<broadcasterset>
<broadcaster id="sendpost"/>
Index: src/content/LiveHTTPSideBar.xul
===================================================================
RCS file: /cvs/livehttpheaders/src/content/LiveHTTPSideBar.xul,v
retrieving revision 1.6
diff -u -r1.6 LiveHTTPSideBar.xul
--- src/content/LiveHTTPSideBar.xul 9 Feb 2010 21:32:35 -0000 1.6
+++ src/content/LiveHTTPSideBar.xul 24 Apr 2011 07:54:50 -0000
@@ -42,7 +42,7 @@
<html:link rel="icon" href="chrome://livehttpheaders/skin/favicon.ico" style="display: none;"/>
<popupset id="popupset">
- <popup id="headerinfo-context">
+ <menupopup id="headerinfo-context">
<menuitem label="&livehttpheaders.live.copy;"
observes="datapresent"
oncommand="livehttpheaders.live.oHeaderInfoLive.copy();" />
@@ -70,7 +70,7 @@
oncommand="livehttpheaders.live.oHeaderInfoLive.replay();"
tooltiptext="&livehttpheaders.live.replay.tips;" />
-->
- </popup>
+ </menupopup>
</popupset>
<broadcasterset id="broadcasterset">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment