Changeset 706
- Timestamp:
- 2008-01-04 06:10:39 (1 year ago)
- Files:
-
- trunk/chrome.manifest (modified) (1 diff)
- trunk/chrome/content/integration/elements.js (modified) (7 diffs)
- trunk/chrome/skin/common/songbird.css (moved) (moved from trunk/chrome/skin/manager/songbird.css) (1 diff)
- trunk/chrome/skin/manager/style.css (modified) (1 diff)
- trunk/chrome/skin/select/style.css (modified) (1 diff)
- trunk/install.rdf (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/chrome.manifest
r704 r706 49 49 overlay chrome://dta/content/integration/songbird.xul chrome://dta/content/integration/elements.xul application=songbird@songbirdnest.com 50 50 style chrome://songbird/content/xul/mainScriptsOverlay.xul chrome://dta/skin/integration/style.css application=songbird@songbirdnest.com 51 style chrome://dta/content/dta/manager.xul chrome://dta/skin/manager/songbird.css application=songbird@songbirdnest.com 51 style chrome://dta/content/dta/manager.xul chrome://dta/skin/common/songbird.css application=songbird@songbirdnest.com 52 style chrome://dta/content/dta/select.xul chrome://dta/skin/common/songbird.css application=songbird@songbirdnest.com trunk/chrome/content/integration/elements.js
r622 r706 209 209 var sel = document.commandDispatcher.focusedWindow.getSelection(); 210 210 if (sel.isCollapsed) { 211 windows.push( DTA_Mediator.getMostRecent().getBrowser().selectedBrowser.contentWindow.top);211 windows.push(gBrowser.selectedBrowser.contentWindow.top); 212 212 } 213 213 else { … … 216 216 } 217 217 else { 218 var win = DTA_Mediator.getMostRecent().getBrowser(); 219 win.browsers.forEach( 218 gBrowser.browsers.forEach( 220 219 function(e) { 221 220 windows.push(e.contentWindow.top); … … 241 240 } 242 241 return windows; 242 }, 243 _types: { 244 'mail:3pane': 'findWindowsMail', 245 'mail:messageWindow': 'findWindowsMail' 243 246 }, 244 247 … … 272 275 } 273 276 274 var wt = document.documentElement.getAttribute('windowtype'); 275 var windows = ( 276 wt.match(/^mail:/) 277 ? this.findWindowsMail 278 : this.findWindowsNavigator 279 )(all); 277 var wt = document.documentElement.getAttribute('windowtype'); 278 if (wt in this._types) { 279 var windows = this[this._types[wt]](all); 280 } 281 else { 282 var windows = this.findWindowsNavigator(all); 283 } 280 284 281 285 var urls = []; … … 312 316 findSingleLink: function(turbo) { 313 317 try { 318 // Songbird 319 //if (!gContextMenu) { 320 // var gContextMenu = document.getElementById('contentAreaContextMenu'); 321 //} 314 322 var win = document.commandDispatcher.focusedWindow.top; 315 323 … … 388 396 onContextShowing: function(evt) { 389 397 try { 398 // Songbird 399 if ('gContextMenu' in window) { 400 var gContextMenu = evt.originalTarget; 401 } 390 402 391 403 // get settings … … 571 583 } 572 584 573 window.addEventListener("load", function() {DTA_ContextOverlay.init();}, false);585 addEventListener("load", function() {DTA_ContextOverlay.init();}, false); trunk/chrome/skin/common/songbird.css
r705 r706 17 17 color: windowText !important; 18 18 } 19 tree { 20 background-color: white !important; 19 tree, 20 treechildren::-moz-tree-row, 21 treechildren::-moz-tree-row(even), 22 treechildren::-moz-tree-row(odd) { 23 background-color: white; 21 24 } 22 23 toolbox { 25 treechildren::-moz-tree-cell-text { 26 color: black; 27 } 28 toolbar *{ 24 29 color: windowText !important; 25 30 } trunk/chrome/skin/manager/style.css
r705 r706 1 1 @import 'chrome://dta/skin/common/style.css'; 2 @import 'chrome://global/skin/tree.css';3 2 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 4 3 @namespace html url("http://www.w3.org/1999/xhtml"); trunk/chrome/skin/select/style.css
r395 r706 77 77 78 78 treechildren::-moz-tree-row(manuallySelected) { 79 background-color: #FFFFB3 ;79 background-color: #FFFFB3 !important; 80 80 } 81 81 treechildren::-moz-tree-row(manuallySelected, selected) { 82 background-color: #FFFF80 ;82 background-color: #FFFF80 !important; 83 83 } 84 84 treechildren::-moz-tree-row(f0) { 85 background-color: #FFE8BB ;85 background-color: #FFE8BB !important; 86 86 } 87 87 treechildren::-moz-tree-row(f0, selected) { 88 background-color: #FFD88A ;88 background-color: #FFD88A !important; 89 89 } 90 90 treechildren::-moz-tree-row(f1) { 91 background-color: #ECFFB3 ;91 background-color: #ECFFB3 !important; 92 92 } 93 93 treechildren::-moz-tree-row(f1, selected) { 94 background-color: #DFFF80 ;94 background-color: #DFFF80 !important; 95 95 } 96 96 treechildren::-moz-tree-row(f2) { 97 background-color: #ECE8FF ;97 background-color: #ECE8FF !important; 98 98 } 99 99 treechildren::-moz-tree-row(f2, selected) { 100 background-color: #D5CCFF ;100 background-color: #D5CCFF !important; 101 101 } 102 102 treechildren::-moz-tree-row(f3) { 103 background-color: #DDF3FF ;103 background-color: #DDF3FF !important; 104 104 } 105 105 treechildren::-moz-tree-row(f3, selected) { 106 background-color: #C2EAFF ;106 background-color: #C2EAFF !important; 107 107 } 108 108 treechildren::-moz-tree-row(f4) { 109 background-color: #FDE8FF ;109 background-color: #FDE8FF !important; 110 110 } 111 111 treechildren::-moz-tree-row(f4, selected) { 112 background-color: #FBCCFF ;112 background-color: #FBCCFF !important; 113 113 } 114 114 treechildren::-moz-tree-row(f5) { 115 background-color: #DDFFF4 ;115 background-color: #DDFFF4 !important; 116 116 } 117 117 treechildren::-moz-tree-row(f5, selected) { 118 background-color: #A8FFE4 ;118 background-color: #A8FFE4 !important; 119 119 } 120 120 treechildren::-moz-tree-row(f6) { 121 background-color: #FEFFAF ;121 background-color: #FEFFAF !important; 122 122 } 123 123 treechildren::-moz-tree-row(f6, selected) { 124 background-color: #FDFF7A ;124 background-color: #FDFF7A !important; 125 125 } 126 126 treechildren::-moz-tree-row(f7) { 127 background-color: #FFF0B3 ;127 background-color: #FFF0B3 !important; 128 128 } 129 129 treechildren::-moz-tree-row(f7, selected) { 130 background-color: #FFE680 ;130 background-color: #FFE680 !important; 131 131 } 132 132 treechildren::-moz-tree-row(f8) { 133 background-color: #FFDBDB ;133 background-color: #FFDBDB !important; 134 134 } 135 135 treechildren::-moz-tree-row(f8, selected) { 136 background-color: #DFC2C2 ;136 background-color: #DFC2C2 !important; 137 137 } trunk/install.rdf
r704 r706 62 62 <id>songbird@songbirdnest.com</id> 63 63 <minVersion>0.4a</minVersion> 64 <maxVersion>0. 4.*</maxVersion>64 <maxVersion>0.5pre</maxVersion> 65 65 </rdf:Description> 66 66 </targetApplication>
