Fixing Bug 189 , adding icon in status bar in firefox
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@622 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
d514c9d9c6
commit
5636cd3f73
|
@ -0,0 +1,21 @@
|
||||||
|
#svg-edit-statusbar-button {
|
||||||
|
list-style-image: url("chrome://svg-edit/content/editor/images/logo.png");
|
||||||
|
display: -moz-box;
|
||||||
|
/*-moz-image-region: rect(16px, 16px, 32px, 0px);*/
|
||||||
|
padding-left: 0px;
|
||||||
|
padding-right: 0px;
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#svg-edit-statusbar-button[state="active"] {
|
||||||
|
list-style-image: url("chrome://svg-edit/content/editor/images/logo.png");
|
||||||
|
-moz-image-region: rect(32px, 16px, 48px, 0px);
|
||||||
|
}
|
||||||
|
|
||||||
|
#svg-edit-statusbar-button[state="error"] {
|
||||||
|
list-style-image: url("chrome://svg-edit/content/editor/images/logo.png");
|
||||||
|
-moz-image-region: rect(0px, 16px, 16px, 0px);
|
||||||
|
}
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
|
<?xml-stylesheet href="chrome://svg-edit/content/svg-edit-overlay.css" type="text/css"?>
|
||||||
|
|
||||||
<!DOCTYPE overlay SYSTEM "chrome://chromelist/locale/ChromeListOverlay.dtd" >
|
<!DOCTYPE overlay SYSTEM "chrome://chromelist/locale/ChromeListOverlay.dtd" >
|
||||||
<overlay id="SVGEditToolsOverlay"
|
<overlay id="SVGEditToolsOverlay"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||||
|
@ -11,4 +14,12 @@
|
||||||
oncommand="start_svg_edit();" />
|
oncommand="start_svg_edit();" />
|
||||||
</menupopup>
|
</menupopup>
|
||||||
|
|
||||||
|
<!-- Firefox -->
|
||||||
|
<statusbar id="status-bar">
|
||||||
|
<statusbarpanel id="svg-edit-statusbar-button"
|
||||||
|
class="statusbarpanel-menu-iconic"
|
||||||
|
onclick="return start_svg_edit()"
|
||||||
|
tooltip="SvgEdit">
|
||||||
|
</statusbarpanel>
|
||||||
|
</statusbar>
|
||||||
</overlay>
|
</overlay>
|
||||||
|
|
Loading…
Reference in New Issue