add:  document.getElementById( "print_command" ).setAttribute( "disabled", "true" ); 
context: function unifinderMouseDownToDo( event ){   var tree = document.getElementById( ToDoUnifinderTreeName );   var treechildren = tree.getElementsByTagName( "treechildren" )[0];   var ThisToDo = getToDoFromEvent( event );   if( ThisToDo )    {      if(event.button == 2)         treechildren.setAttribute("context", "taskitem-context-menu")      // TODO HACK notifiers should be rewritten to integrate events and todos      document.getElementById( "delete_command" ).removeAttribute( "disabled" );      document.getElementById( "delete_command_no_confirm" ).removeAttribute( "disabled" );   } else   {      if(event.button == 2)          treechildren.setAttribute("context", "context-menu");      tree.treeBoxObject.selection.clearSelection();      // TODO HACK notifiers should be rewritten to integrate events and todos      document.getElementById( "delete_command" ).setAttribute( "disabled", "true" );      document.getElementById( "delete_command_no_confirm" ).setAttribute( "disabled", "true" );   }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/231abc4a952e2db9d8aa325cd98b6a95929095ce/unifinderToDo.js/clean/calendar/resources/content/unifinderToDo.js