Skip to content

Commit

Permalink
Bug 804258 - the social sidebar should appear under View->Sidebar. r=…
Browse files Browse the repository at this point in the history
…gavin
  • Loading branch information
mhammond committed Oct 30, 2012
1 parent d8a3b43 commit ab1aa13
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions browser/base/content/browser-menubar.inc
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@
observes="viewHistorySidebar"
label="&historyButton.label;"
accesskey="&historySidebarCmd.accesskey;"/>
<menuitem id="menu_socialSidebar"
type="checkbox"
autocheck="false"
command="Social:ToggleSidebar"/>
</menupopup>
</menu>
<menuseparator/>
Expand Down
3 changes: 3 additions & 0 deletions browser/base/content/browser-social.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ let SocialUI = {
kbMenuitem.setAttribute("label", label);
kbMenuitem.setAttribute("accesskey", accesskey);

// The View->Sidebar menu.
document.getElementById("menu_socialSidebar").setAttribute("label", Social.provider.name);

SocialToolbar.init();
SocialShareButton.init();
SocialSidebar.init();
Expand Down

0 comments on commit ab1aa13

Please sign in to comment.