Changeset 873216


Ignore:
Timestamp:
Aug 22, 2008, 5:21:39 PM (11 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
a489c4
Parents:
086fb7
Message:

hide pref-Tabs if saving Drafts/Templates? is not available. Enable to hide preferences in Seamonkey, now they can reached with the statusbar-icon.

Location:
chrome/content/v_identity
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_prefDialog.js

    r086fb7 r873216  
    273273            document.getElementById("version-warning").setAttribute("hidden", "false");
    274274            document.getElementById("VIdent_identity.smart_draft").setAttribute("disabled", "true");
     275            document.getElementById("VIdent_messageDraftsTab").setAttribute("hidden", "true");
     276            document.getElementById("VIdent_messageTemplatesTab").setAttribute("hidden", "true");
    275277        }
    276278        if (vI_helper.olderVersion("TB", "1.5.0.7")) {
     
    279281        if (vI_helper.olderVersion("TB", "2.0")) {
    280282            document.getElementById("fccReplyFollowsParentBox").setAttribute("hidden", "true");
    281         }
    282         if (vI_helper.olderVersion("SM", null)) { // any known seamonkey version
    283             document.getElementById("VIdent_identity.menu_entry").setAttribute("hidden", "true");
    284283        }
    285284       
  • chrome/content/v_identity/vI_prefDialog.xul

    r086fb7 r873216  
    135135            <tab label="&vI_prefDialog.vIdentityTab.valueTab.label;" />
    136136            <tab label="&vI_prefDialog.vIdentityTab.fccTab.label;" />
    137             <tab label="&vI_prefDialog.vIdentityTab.draftsTab.label;" />
    138             <tab label="&vI_prefDialog.vIdentityTab.tmplTab.label;" />
     137            <tab id="VIdent_messageDraftsTab" label="&vI_prefDialog.vIdentityTab.draftsTab.label;" />
     138            <tab id="VIdent_messageTemplatesTab" label="&vI_prefDialog.vIdentityTab.tmplTab.label;" />
    139139        </tabs>
    140140        <tabpanels>
Note: See TracChangeset for help on using the changeset viewer.