Skip to content

Commit

Permalink
Fixed bug #56: Toolbar icon wasn't displaying properly in Firefox+Lin…
Browse files Browse the repository at this point in the history
…ux. (Still need to test on other platforms.)
  • Loading branch information
adam-p committed Mar 5, 2013
1 parent 6040594 commit 605cce2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/firefox/chrome/content/ff-overlay.xul
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<toolbarpalette id="BrowserToolbarPalette">
<toolbarbutton id="toolbarButton-markdown_here"
class="toolbarButton-markdown_here toolbarbutton-1 chromeclass-toolbar-additional"
class="toolbarbutton-1 chromeclass-toolbar-additional"
label="&markdown_hereButton.label;"
tooltiptext="&markdown_hereButton.tooltiptext;"
oncommand="markdown_here.onToolbarButtonCommand(event)" />
Expand Down
4 changes: 2 additions & 2 deletions src/firefox/chrome/content/tb-overlay.xul
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@

<toolbarpalette id="MsgComposeToolbarPalette">
<toolbarbutton id="composeToolbarButton-markdown_here"
class="toolbarButton-markdown_here toolbarbutton-1 chromeclass-toolbar-additional"
class="toolbarbutton-1 chromeclass-toolbar-additional"
label="&markdown_hereButton.label;"
tooltiptext="&markdown_hereButton.tooltiptext;"
oncommand="markdown_here.onToolbarButtonCommand(event)" />
</toolbarpalette>

<toolbar class="chromeclass-toolbar" id="FormatToolbar">
<toolbarbutton id="formatToolbarButton-markdown_here"
class="toolbarButton-markdown_here formatting-button toolbarbutton-1 chromeclass-toolbar-additional"
class="formatting-button toolbarbutton-1 chromeclass-toolbar-additional"
insertbefore="smileButtonMenu"
label="&markdown_hereButton.label;"
tooltiptext="&markdown_hereButton.tooltiptext;"
Expand Down
6 changes: 4 additions & 2 deletions src/firefox/chrome/skin/toolbar.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.toolbarButton-markdown_here {
#toolbarButton-markdown_here, #composeToolbarButton-markdown_here, #formatToolbarButton-markdown_here {
list-style-image: url("resource://markdown_here_common/images/icon24.png");
}

toolbar[iconsize="small"] .toolbarButton-markdown_here {
toolbar[iconsize="small"] #toolbarButton-markdown_here,
toolbar[iconsize="small"] #composeToolbarButton-markdown_here,
toolbar[iconsize="small"] #formatToolbarButton-markdown_here {
list-style-image: url("resource://markdown_here_common/images/icon16.png");
}

0 comments on commit 605cce2

Please sign in to comment.