[Project_owners] Changing Mouse pointer and Opening Links in new tab

Chris Neale cdn at mozdev.org
Sat May 15 13:00:26 EDT 2004


On Saturday 15 May 2004 11:16, Sudhakar Chandra wrote:
> Hi,
>
> I have some questions:
>
> 4. How do I add an icon to my application's entry in the Tools menu?  I
> like how this is done by ChromeEdit.  I can't figure out how this is
> being done in ChromeEdit.
>

from chromeditMenuOverlay.xul :

  <menupopup id="taskPopup">
    <menuitem oncommand="showChromEdit()"
              label="Edit User Files" id="chromedit-moztab" flibble=" [Tab]"
              insertbefore="menu_preferences" class="menuitem-iconic"/>
  </menupopup>

  <menupopup id="menu_ToolsPopup">
    <menuitem oncommand="showChromEdit()"
              label="Edit User Files" id="chromedit-fbtab" flibble=" [Tab]"
              insertbefore="menu_preferences" class="menuitem-iconic"/>
  </menupopup>

from chromeditMailOverlayxul :

  <menupopup id="taskPopup">
    <menuitem oncommand="toOpenWindowByType('global:ChromEditWindow', 
this.getAttribute('href'));"
              label="Edit User Files" id="chromedit-tbwin"
              href="chrome://chromedit/content/"
              class="menuitem-iconic"/>
  </menupopup>

from chromedit.css :

#chromedit-fbtab,
#chromedit-moztab,
#chromedit-tbwin {
  list-style-image: url("chrome://chromedit/skin/ce.x16.png");
}


> Thanks.
>
> Thaths

-- 

cdn

--

Extensions for Mozillan Applications [ http://cdn.mozdev.org/ ]

get Orbit3+1, Orbit Retro and other Mozilla themes from : 
http://themes.mozdev.org/


More information about the Project_owners mailing list