Changeset ee3d90


Ignore:
Timestamp:
Aug 21, 2008, 1:10:56 PM (12 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
3e173f
Parents:
6e77d5
Message:

added tooltip for statusmenu

Location:
chrome
Files:
19 edited

Legend:

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

    r6e77d5 ree3d90  
    8585        vI_statusmenu.objSaveSwitch = document.getElementById("storage_save");
    8686        vI_statusmenu.objStatusText = document.getElementById("statusText");
     87        vI_statusmenu.objStatusTooltipLine1 = document.getElementById("vI_statusMenuTooltip_StatusValueLine1");
     88        vI_statusmenu.objStatusTooltipLine2 = document.getElementById("vI_statusMenuTooltip_StatusValueLine2");
    8789
    8890        vI_statusmenu.addObserver();
     
    98100    __timeout : 5,  // timeout for status messages in seconds
    99101    __addStatusMessage : function(save) {
    100         var message = vI.elements.strings.getString("vident.statusText.save." + save);
    101         vI_statusmenu.objStatusText.setAttribute("label", message);
     102        var messageLine1 = vI.elements.strings.getString("vident.statusText.save." + save + ".line1");
     103        var messageLine2 = vI.elements.strings.getString("vident.statusText.save." + save + ".line2");
     104        if (!messageLine2) {
     105            vI_statusmenu.objStatusText.setAttribute("label", messageLine1);
     106            vI_statusmenu.objStatusTooltipLine1.setAttribute("value", messageLine1);
     107            vI_statusmenu.objStatusTooltipLine2.setAttribute("hidden", "true");
     108        }   
     109        else {
     110            vI_statusmenu.objStatusText.setAttribute("label", messageLine1 + " " + messageLine2);
     111            vI_statusmenu.objStatusTooltipLine1.setAttribute("value", messageLine1);
     112            vI_statusmenu.objStatusTooltipLine2.setAttribute("value", messageLine2);
     113            vI_statusmenu.objStatusTooltipLine2.removeAttribute("hidden");
     114        }
    102115        window.setTimeout(vI_statusmenu.__clearStatusMessage, vI_statusmenu.__timeout * 1000);
    103116    },
  • chrome/content/v_identity/v_identity.xul

    r6e77d5 ree3d90  
    102102      </popup>
    103103  </popupset>
    104    
     104
     105  <popupset>
     106      <tooltip id="vI_statusMenuTooltip" orient="vertical" >
     107        <label id="vI_statusMenuTooltip_Title" value="&vident.vI_Menu.TooltipTitle.label;" />
     108        <label id="vI_statusMenuTooltip_StatusValueLine1" />
     109        <label id="vI_statusMenuTooltip_StatusValueLine2" />
     110        <label id="vI_statusMenuTooltip_Change" value="&vident.vI_Menu.TooltipChange.label;" />
     111      </tooltip>
     112  </popupset>
     113 
    105114  <statusbar id="status-bar">
    106115      <statusbarpanel class="v_identity_logo"
  • chrome/locale/cs-CZ/v_identity/v_identity.dtd

    r6e77d5 ree3d90  
    1010<!ENTITY vident.vI_Menu.storageSave.label "save Identity while sending"> <!-- to translate -->
    1111<!ENTITY vident.vI_Menu.saveBaseID.label "store underlying base Identity"> <!-- to translate -->
     12<!ENTITY vident.vI_Menu.TooltipTitle.label "Virtual Identity Status"> <!-- to translate -->
     13<!ENTITY vident.vI_Menu.TooltipChange.label "click to change"> <!-- to translate -->
    1214
    1315<!ENTITY fccMailFolder.accesskey "P">
  • chrome/locale/cs-CZ/v_identity/v_identity.properties

    r6e77d5 ree3d90  
    1616vident.replaceVIdentity.query=Do you want to use the stored Identity?
    1717
    18 vident.statusText.save.off=storing of virtual Identities deactivated
    19 vident.statusText.save.ok=storing virtual Identities
    20 vident.statusText.save.base=storing virtual Identities (remember underlying Identity)
     18vident.statusText.save.off.line1=storing of virtual Identities
     19vident.statusText.save.off.line2=deactivated
     20vident.statusText.save.ok.line1=storing virtual Identities
     21vident.statusText.save.ok.line2=
     22vident.statusText.save.base.line1=storing virtual Identities
     23vident.statusText.save.base.line2=(remember underlying Identity)
    2124
    2225vident.identityData.Name=Name
  • chrome/locale/de-DE/v_identity/v_identity.dtd

    r6e77d5 ree3d90  
    1010<!ENTITY vident.vI_Menu.storageSave.label "speichere IdentitÀt beim Senden">
    1111<!ENTITY vident.vI_Menu.saveBaseID.label "speichere zugrunde liegende IdentitÀt">
     12<!ENTITY vident.vI_Menu.TooltipTitle.label "Virtual Identity Status">
     13<!ENTITY vident.vI_Menu.TooltipChange.label "Àndere durch Maus-Klick">
    1214
    1315<!ENTITY fccMailFolder.accesskey "P">
  • chrome/locale/de-DE/v_identity/v_identity.properties

    r6e77d5 ree3d90  
    1515vident.replaceVIdentity.query=Wollen Sie die gespeicherte IdentitÀt nutzen?
    1616
    17 vident.statusText.save.off=speichern Virtueller IdentitÀten deaktiviert
    18 vident.statusText.save.ok=speichere Virtuelle IdentitÀten
    19 vident.statusText.save.base=speichere Virtuelle IdentitÀten (und die zugrunde liegende IdentitÀt)
     17vident.statusText.save.off.line1=speichern Virtueller IdentitÀten
     18vident.statusText.save.off.line2=deaktiviert
     19vident.statusText.save.ok.line1=speichere Virtuelle IdentitÀten
     20vident.statusText.save.ok.line2=
     21vident.statusText.save.base.line1=speichere Virtuelle IdentitÀten
     22vident.statusText.save.base.line2=(und die zugrunde liegende IdentitÀt)
    2023
    2124vident.identityData.Name=Name
  • chrome/locale/en-US/v_identity/v_identity.dtd

    r6e77d5 ree3d90  
    1010<!ENTITY vident.vI_Menu.storageSave.label "save Identity while sending">
    1111<!ENTITY vident.vI_Menu.saveBaseID.label "store underlying base Identity">
     12<!ENTITY vident.vI_Menu.TooltipTitle.label "Virtual Identity Status">
     13<!ENTITY vident.vI_Menu.TooltipChange.label "click to change">
    1214
    1315<!ENTITY fccMailFolder.accesskey "P">
  • chrome/locale/en-US/v_identity/v_identity.properties

    r6e77d5 ree3d90  
    1515vident.replaceVIdentity.query=Do you want to use the stored Identity?
    1616
    17 vident.statusText.save.off=storing of virtual Identities deactivated
    18 vident.statusText.save.ok=storing virtual Identities
    19 vident.statusText.save.base=storing virtual Identities (remember underlying Identity)
     17vident.statusText.save.off.line1=storing of virtual Identities
     18vident.statusText.save.off.line2=deactivated
     19vident.statusText.save.ok.line1=storing virtual Identities
     20vident.statusText.save.ok.line2=
     21vident.statusText.save.base.line1=storing virtual Identities
     22vident.statusText.save.base.line2=(remember underlying Identity)
    2023
    2124vident.identityData.Name=Name
  • chrome/locale/es-ES/v_identity/v_identity.dtd

    r6e77d5 ree3d90  
    1010<!ENTITY vident.vI_Menu.storageSave.label "save Identity while sending"> <!-- to translate -->
    1111<!ENTITY vident.vI_Menu.saveBaseID.label "store underlying base Identity"> <!-- to translate -->
     12<!ENTITY vident.vI_Menu.TooltipTitle.label "Virtual Identity Status"> <!-- to translate -->
     13<!ENTITY vident.vI_Menu.TooltipChange.label "click to change"> <!-- to translate -->
    1214
    1315<!ENTITY fccMailFolder.accesskey "P">
  • chrome/locale/es-ES/v_identity/v_identity.properties

    r6e77d5 ree3d90  
    1616vident.replaceVIdentity.query=Do you want to use the stored Identity?
    1717
    18 vident.statusText.save.off=storing of virtual Identities deactivated
    19 vident.statusText.save.ok=storing virtual Identities
    20 vident.statusText.save.base=storing virtual Identities (remember underlying Identity)
     18vident.statusText.save.off.line1=storing of virtual Identities
     19vident.statusText.save.off.line2=deactivated
     20vident.statusText.save.ok.line1=storing virtual Identities
     21vident.statusText.save.ok.line2=
     22vident.statusText.save.base.line1=storing virtual Identities
     23vident.statusText.save.base.line2=(remember underlying Identity)
    2124
    2225vident.identityData.Name=Name
  • chrome/locale/fr-FR/v_identity/v_identity.dtd

    r6e77d5 ree3d90  
    1010<!ENTITY vident.vI_Menu.storageSave.label "save Identity while sending"> <!-- to translate -->
    1111<!ENTITY vident.vI_Menu.saveBaseID.label "store underlying base Identity"> <!-- to translate -->
     12<!ENTITY vident.vI_Menu.TooltipTitle.label "Virtual Identity Status"> <!-- to translate -->
     13<!ENTITY vident.vI_Menu.TooltipChange.label "click to change"> <!-- to translate -->
    1214
    1315<!ENTITY fccMailFolder.accesskey "P">
  • chrome/locale/fr-FR/v_identity/v_identity.properties

    r6e77d5 ree3d90  
    1616vident.replaceVIdentity.query=Do you want to use the stored Identity?
    1717
    18 vident.statusText.save.off=storing of virtual Identities deactivated
    19 vident.statusText.save.ok=storing virtual Identities
    20 vident.statusText.save.base=storing virtual Identities (remember underlying Identity)
     18vident.statusText.save.off.line1=storing of virtual Identities
     19vident.statusText.save.off.line2=deactivated
     20vident.statusText.save.ok.line1=storing virtual Identities
     21vident.statusText.save.ok.line2=
     22vident.statusText.save.base.line1=storing virtual Identities
     23vident.statusText.save.base.line2=(remember underlying Identity)
    2124
    2225vident.identityData.Name=Name
  • chrome/locale/it-IT/v_identity/v_identity.dtd

    r6e77d5 ree3d90  
    1010<!ENTITY vident.vI_Menu.storageSave.label "save Identity while sending"> <!-- to translate -->
    1111<!ENTITY vident.vI_Menu.saveBaseID.label "store underlying base Identity"> <!-- to translate -->
     12<!ENTITY vident.vI_Menu.TooltipTitle.label "Virtual Identity Status"> <!-- to translate -->
     13<!ENTITY vident.vI_Menu.TooltipChange.label "click to change"> <!-- to translate -->
    1214
    1315<!ENTITY fccMailFolder.accesskey "P">
  • chrome/locale/it-IT/v_identity/v_identity.properties

    r6e77d5 ree3d90  
    1616vident.replaceVIdentity.query=Do you want to use the stored Identity?
    1717
    18 vident.statusText.save.off=storing of virtual Identities deactivated
    19 vident.statusText.save.ok=storing virtual Identities
    20 vident.statusText.save.base=storing virtual Identities (remember underlying Identity)
     18vident.statusText.save.off.line1=storing of virtual Identities
     19vident.statusText.save.off.line2=deactivated
     20vident.statusText.save.ok.line1=storing virtual Identities
     21vident.statusText.save.ok.line2=
     22vident.statusText.save.base.line1=storing virtual Identities
     23vident.statusText.save.base.line2=(remember underlying Identity)
    2124
    2225vident.identityData.Name=Name
  • chrome/locale/nl-NL/v_identity/v_identity.dtd

    r6e77d5 ree3d90  
    1010<!ENTITY vident.vI_Menu.storageSave.label "save Identity while sending"> <!-- to translate -->
    1111<!ENTITY vident.vI_Menu.saveBaseID.label "store underlying base Identity"> <!-- to translate -->
     12<!ENTITY vident.vI_Menu.TooltipTitle.label "Virtual Identity Status"> <!-- to translate -->
     13<!ENTITY vident.vI_Menu.TooltipChange.label "click to change"> <!-- to translate -->
    1214
    1315<!ENTITY fccMailFolder.accesskey "l">
  • chrome/locale/nl-NL/v_identity/v_identity.properties

    r6e77d5 ree3d90  
    1616vident.replaceVIdentity.query=Do you want to use the stored Identity?
    1717
    18 vident.statusText.save.off=storing of virtual Identities deactivated
    19 vident.statusText.save.ok=storing virtual Identities
    20 vident.statusText.save.base=storing virtual Identities (remember underlying Identity)
     18vident.statusText.save.off.line1=storing of virtual Identities
     19vident.statusText.save.off.line2=deactivated
     20vident.statusText.save.ok.line1=storing virtual Identities
     21vident.statusText.save.ok.line2=
     22vident.statusText.save.base.line1=storing virtual Identities
     23vident.statusText.save.base.line2=(remember underlying Identity)
    2124
    2225vident.identityData.Name=Name
  • chrome/locale/pl-PL/v_identity/v_identity.dtd

    r6e77d5 ree3d90  
    1111<!ENTITY vident.vI_Menu.storageSave.label "save Identity while sending"> <!-- to translate -->
    1212<!ENTITY vident.vI_Menu.saveBaseID.label "store underlying base Identity"> <!-- to translate -->
     13<!ENTITY vident.vI_Menu.TooltipTitle.label "Virtual Identity Status"> <!-- to translate -->
     14<!ENTITY vident.vI_Menu.TooltipChange.label "click to change"> <!-- to translate -->
    1315
    1416<!ENTITY fccMailFolder.accesskey "P">
  • chrome/locale/pl-PL/v_identity/v_identity.properties

    r6e77d5 ree3d90  
    2121vident.replaceVIdentity.query=Do you want to use the stored Identity?
    2222
    23 vident.statusText.save.off=storing of virtual Identities deactivated
    24 vident.statusText.save.ok=storing virtual Identities
    25 vident.statusText.save.base=storing virtual Identities (remember underlying Identity)
     23vident.statusText.save.off.line1=storing of virtual Identities
     24vident.statusText.save.off.line2=deactivated
     25vident.statusText.save.ok.line1=storing virtual Identities
     26vident.statusText.save.ok.line2=
     27vident.statusText.save.base.line1=storing virtual Identities
     28vident.statusText.save.base.line2=(remember underlying Identity)
    2629
    2730vident.identityData.Name=Name
  • chrome/skin/classic/v_identity/v_identity.css

    r6e77d5 ree3d90  
    22@import url("chrome://v_identity/locale/logo.css");
    33@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
     4
     5
     6#vI_statusMenuTooltip {
     7    text-align: center;
     8    font-size: x-small;
     9}
     10
     11#vI_statusMenuTooltip_StatusValueLine1, #vI_statusMenuTooltip_StatusValueLine2 {
     12    font-weight: bold;
     13    font-size: small;
     14}
     15
     16#vI_statusMenuTooltip_Change {
     17    margin-top: 1em;
     18    font-style: italic;
     19}
    420
    521#vINotificationTitle {
Note: See TracChangeset for help on using the changeset viewer.