Comment on attachment 200039 Revised from last patch >? patch.txt >Index: resources/content/messageWindow.xul >=================================================================== >RCS file: /cvsroot/mozilla/mailnews/base/resources/content/messageWindow.xul,v >retrieving revision 1.81.2.1 >diff -u -w -r1.81.2.1 messageWindow.xul >--- resources/content/messageWindow.xul 22 Sep 2005 13:38:25 -0000 >1.81.2.1 >+++ resources/content/messageWindow.xul 19 Oct 2005 03:46:40 -0000 >@@ -126,6 +126,9 @@ > <menuitem label="&CreateFilter.label;" > accesskey="&CreateFilter.accesskey;" > command="cmd_createFilterFromPopup"/> >+ <menuitem label="&CopyMailHeader.label;" >+ accesskey="&CopyMailHeader.accesskey;" >+ oncommand = "CopyMailHeader()"/> > </popup> > > <popup id="allHeadersPopup" onpopupshowing="return > fillAllHeadersPopup(document.popupNode);" popupanchor="bottomleft"> >Index: resources/content/messenger.xul >=================================================================== >RCS file: /cvsroot/mozilla/mailnews/base/resources/content/messenger.xul,v >retrieving revision 1.258.2.1 >diff -u -w -r1.258.2.1 messenger.xul >--- resources/content/messenger.xul 22 Sep 2005 13:38:25 -0000 >1.258.2.1 >+++ resources/content/messenger.xul 19 Oct 2005 03:47:09 -0000 >@@ -143,6 +143,10 @@ > <menuitem label="&CreateFilter.label;" > accesskey="&CreateFilter.accesskey;" > command="cmd_createFilterFromPopup"/> >+ <menuitem label="&CopyMailHeader.label;" >+ accesskey="&CopyMailHeader.accesskey;" >+ oncommand = "CopyMailHeader()"/> >+ > </popup> > > <popup id="allHeadersPopup" onpopupshowing="return > fillAllHeadersPopup(document.popupNode);" popupanchor="bottomleft"> >Index: resources/content/msgHdrViewOverlay.js >=================================================================== >RCS file: >/cvsroot/mozilla/mailnews/base/resources/content/msgHdrViewOverlay.js,v >retrieving revision 1.141.2.1 >diff -u -w -r1.141.2.1 msgHdrViewOverlay.js >--- resources/content/msgHdrViewOverlay.js 19 Sep 2005 23:26:28 -0000 >1.141.2.1 >+++ resources/content/msgHdrViewOverlay.js 19 Oct 2005 03:47:29 -0000 >@@ -916,6 +916,26 @@ > } > } > >+// CopyMailHeader copy the major part of mailheader, it enable user to paste >the header to other files as they needed >+ >+function CopyMailHeader() >+{ >+ var header=""; >+ for(headername in currentHeaderData) >+ { >+ if(headername in gExpandedHeaderView ) >+ { >+ var headerfield=currentHeaderData[headername]; >+ header = header+headername+": "+headerfield.headerValue+'\n'; >+ } >+ } >+ >+ var contractid = "@mozilla.org/widget/clipboardhelper;1"; >+ var iid = Components.interfaces.nsIClipboardHelper; >+ var clipboard = Components.classes[contractid].getService(iid); >+ clipboard.copyString(header); >+} >+ > // createnewAttachmentInfo --> constructor method for creating new attachment > object which goes into the > // data attachment array. > function createNewAttachmentInfo(contentType, url, displayName, uri, > isExternalAttachment) >Index: resources/content/msgHdrViewOverlay.xul >=================================================================== >RCS file: >/cvsroot/mozilla/mailnews/base/resources/content/msgHdrViewOverlay.xul,v >retrieving revision 1.64 >diff -u -w -r1.64 msgHdrViewOverlay.xul >Index: resources/locale/en-US/messenger.dtd >=================================================================== >RCS file: /cvsroot/mozilla/mailnews/base/resources/locale/en-US/messenger.dtd,v >retrieving revision 1.202.2.1 >diff -u -w -r1.202.2.1 messenger.dtd >--- resources/locale/en-US/messenger.dtd 3 Sep 2005 00:23:38 -0000 >1.202.2.1 >+++ resources/locale/en-US/messenger.dtd 19 Oct 2005 03:47:37 -0000 >@@ -564,6 +564,8 @@ > <!ENTITY CreateFilter.accesskey "F"> > <!ENTITY BlockAddress.label "Block Address"> > <!ENTITY BlockAddress.accesskey "A"> >+<!ENTITY CopyMailHeader.label "Copy Mail Header"> >+<!ENTITY CopyMailHeader.accesskey "H"> > > <!---SearchBar--> > <!-- also used by addressbook -->
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1085 Title: selecting text in full header mode fails To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1085/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs