<?xml version="1.0"?>

<!--

 Copyright 2007-2010 Xmarks Inc.

 foxmarks-statusbar.xul: implements the Foxmarks status bar

-->

<!DOCTYPE dialog SYSTEM "chrome://foxmarks/locale/foxmarks.dtd">
<?xml-stylesheet href="chrome://foxmarks/skin/foxmarks.css" type="text/css"?>

<overlay id="foxmarksStatusbarOverlay"
      xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

    <script src="foxmarks-statusbar.js" />
    <script src="foxmarks-uitools.js" />

    <statusbarpanel id="foxmarks-statusbarpanel">
        <image id="foxmarks-statusimage" context="foxmarks-statepopup" 
           onclick="if (event.button &lt; 2) { Xmarks.OpenFoxmarksSettingsDialog(); }" 
        />
    </statusbarpanel>
    <popupset>
        <menupopup id="foxmarks-statepopup" >
            <menuitem label="&dialog.label.syncNow;   "
                accesskey="&menu.accesskey.syncnow;" 
                oncommand="Xmarks.Synch()" 
                key="XmarksSyncNow" />
            <menuitem label="&menu.myFoxmarks;   "
                accesskey="&menu.accesskey.myfoxmarks;" 
                oncommand="Xmarks.MyFoxmarks()" />
            <menuitem label="&menu.settings;   "
                accesskey="&menu.accesskey.settings;" 
                oncommand="Xmarks.OpenFoxmarksSettingsDialog()" 
                key="OpenFoxmarksDialog" />
            <menuitem label="&menu.opentabs;"
                accesskey="&menu.accesskey.opentabs;"
                oncommand="Xmarks.OpenTabsPanel()"
                key="XmarksOpenTabs" />
            <menuseparator />
            <menuitem label="&menu.showstatus;   " type="checkbox"
                id="xmarks-status-showicon"
                checked="true" autocheck="false" 
                accesskey="&menu.accesskey.icon;"
                oncommand="Xmarks.ToggleIcon()"/>
        </menupopup>
    </popupset>
</overlay>


