Changeset 1bc37c


Ignore:
Timestamp:
Nov 23, 2011, 9:58:27 AM (9 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
c9f1d7
Parents:
855e5e
Message:

added replyToSelf as module

Files:
1 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • content/v_identity.js

    r855e5e r1bc37c  
    2929Components.utils.import("resource://v_identity/vI_account.js", virtualIdentityExtension);
    3030Components.utils.import("resource://v_identity/vI_prefs.js", virtualIdentityExtension);
     31Components.utils.import("resource://v_identity/vI_replyToSelf.js", virtualIdentityExtension);
     32Components.utils.import("resource://v_identity/plugins/signatureSwitch.js", virtualIdentityExtension);
    3133
    3234var main = {
     
    139141            Log.debug("\nVIdentity_GenericSendMessage\n");
    140142           
    141             if (msgType == Components.interfaces.nsIMsgCompDeliverMode.Now) { vI.msgIdentityCloneTools.addReplyToSelf(); }
     143            if (msgType == Components.interfaces.nsIMsgCompDeliverMode.Now)
     144              vI.addReplyToSelf();
    142145
    143146            var vid = document.getElementById("virtualIdentityExtension_msgIdentityClone").vid
     
    249252    initSystemStage2 : function() {
    250253        Log.debug("initSystemStage2.\n")
    251         vI.msgIdentityCloneTools.initReplyTo();
     254        vI.initReplyTo();
    252255        vI.storage.init();
    253256        vI.smartIdentity.init();
     
    269272        var parent_hbox = main.elements.Obj_MsgIdentity.parentNode;
    270273        var storage_box = document.getElementById("addresses-box");
    271         var virtualIdentityExtension_autoReplyToSelfLabel = document.getElementById("virtualIdentityExtension_autoReplyToSelfLabel");
     274        var virtualIdentityExtension_autoReplyToSelfLabel = document.getElementById("virtualIdentityExtension_autoReplyToSelfLabelBox");
    272275       
    273276        storage_box.removeChild(virtualIdentityExtension_autoReplyToSelfLabel);
  • content/v_identity.xul

    r855e5e r1bc37c  
    1818
    1919   - The Initial Developer of the Original Code is Rene Ejury.
    20    - Portions created by the Initial Developer are Copyright (C) 2007
     20   - Portions created by the Initial Developer are Copyright (C) 2011
    2121   - the Initial Developer. All Rights Reserved.
    2222
     
    3434]>
    3535
    36   <overlay id="v_identity"
     36<overlay id="virtualIdentityExtension_MsgComposeOverlay"
    3737          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    3838
    3939<script type="application/x-javascript" src="chrome://v_identity/content/v_identity.js" />
    40 <script type="application/x-javascript" src="chrome://v_identity/content/vI_msgIdentityCloneTools.js" />
    4140<script type="application/x-javascript" src="chrome://v_identity/content/vI_smartIdentity.js" />
    4241<script type="application/x-javascript" src="chrome://v_identity/content/vI_statusmenu.js" />
     
    5756<vbox flex="1" id="addresses-box"> <!-- this is used as a strorage, elements will be rearranged by v_identity_init -->
    5857
    59 <label id="virtualIdentityExtension_autoReplyToSelfLabel" context="virtualIdentityExtension_vIAutoReplyToSelfMenu" value="&vident.composeDialog.autoReplyToSelf.label;" hidden="true" />
    60    
     58<vbox id="virtualIdentityExtension_autoReplyToSelfLabelBox">
     59  <spacer flex="1"/>
     60  <label id="virtualIdentityExtension_autoReplyToSelfLabel" context="virtualIdentityExtension_vIAutoReplyToSelfMenu" value="&vident.composeDialog.autoReplyToSelf.label;" hidden="true" />
     61  <spacer flex="1"/>
     62</vbox>
    6163<hbox id="virtualIdentityExtension_msgIdentityHbox" flex="1">
    6264    <menulist id="virtualIdentityExtension_msgIdentityClone" class="identity_clone-menulist" vid="false"
Note: See TracChangeset for help on using the changeset viewer.