[Bug 461665] allow dbclick to edit tags (in the preferences tag editing section). r=mkmelin
authorPrzemyslaw Bialik <firefox@poczta.neostrada.pl>
Sun, 26 Oct 2008 19:01:51 +0200
changeset 718 21179bc2541a1b70c1de5d8a0ed6fcd97c786840
parent 717 4c428a4a8be6dc8d5c89bdc36582792454ffd4f7
child 719 5a935c0e38cf788befd274fa6c20bb48be44876e
push idunknown
push userunknown
push dateunknown
reviewersmkmelin
bugs461665
[Bug 461665] allow dbclick to edit tags (in the preferences tag editing section). r=mkmelin
mail/components/preferences/display.xul
--- a/mail/components/preferences/display.xul
+++ b/mail/components/preferences/display.xul
@@ -143,17 +143,17 @@
                       oncommand="gDisplayPane.fontOptionsDialog();"/>
             </hbox>
           </groupbox>          
         </tabpanel>
 
         <tabpanel orient="vertical">
           <label control="tagList">&displayTagsText.label;</label>
           <hbox>
-            <listbox id="tagList" flex="1" rows="10"/>
+            <listbox id="tagList" flex="1" rows="10" ondblclick="gDisplayPane.editTag();"/>
             <vbox>
               <button label="&addTagButton.label;" accesskey="&addTagButton.accesskey;"
                       oncommand="gDisplayPane.addTag();"/>
               <button label="&editTagButton.label;" accesskey="&editTagButton.accesskey;"
                       oncommand="gDisplayPane.editTag();"/>              
               <button label="&removeTagButton.label;" accesskey="&removeTagButton.accesskey;" 
                       oncommand="gDisplayPane.removeTag();"/>
             </vbox>