rem: if (item.getAttribute("type") == "download") { 
add: if (item.getAttribute("type") == "download" && aEvent.button == 0) { 
context: function onDownloadDblClick(aEvent){  var item = aEvent.target;  if (item.getAttribute("type") == "download") {    var state = parseInt(item.getAttribute("state"));    switch (state) {      case Ci.nsIDownloadManager.DOWNLOAD_FINISHED:        gDownloadViewController.doCommand("cmd_open");        break;      case Ci.nsIDownloadManager.DOWNLOAD_DOWNLOADING:          gDownloadViewController.doCommand("cmd_pause");        break;      case Ci.nsIDownloadManager.DOWNLOAD_PAUSED:        gDownloadViewController.doCommand("cmd_resume");        break;      case Ci.nsIDownloadManager.DOWNLOAD_CANCELED:      case Ci.nsIDownloadManager.DOWNLOAD_FAILED:        gDownloadViewController.doCommand("cmd_retry");        break;    }  }}
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/f6646a581133347ed2ae9c84fca88f367f18d555/downloads.js/buggy/toolkit/mozapps/downloads/content/downloads.js