Skip to content

Commit

Permalink
Bug 1207422 - Remove Apps link from about:home. r=gijs
Browse files Browse the repository at this point in the history
  • Loading branch information
daogottwald committed Jan 6, 2016
1 parent 969cdb4 commit b336cf3
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 24 deletions.
8 changes: 0 additions & 8 deletions browser/base/content/abouthome/aboutHome.css
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,6 @@ body[narrow] #restorePreviousSession {
content: url("chrome://browser/content/abouthome/history.png");
}

#apps::before {
content: url("chrome://browser/content/abouthome/apps.png");
}

#addons::before {
content: url("chrome://browser/content/abouthome/addons.png");
}
Expand Down Expand Up @@ -415,10 +411,6 @@ body[narrow] #restorePreviousSession::before {
content: url("chrome://browser/content/abouthome/history@2x.png");
}

#apps::before {
content: url("chrome://browser/content/abouthome/apps@2x.png");
}

#addons::before {
content: url("chrome://browser/content/abouthome/addons@2x.png");
}
Expand Down
1 change: 0 additions & 1 deletion browser/base/content/abouthome/aboutHome.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
<button class="launchButton" id="downloads">&abouthome.downloadsButton.label;</button>
<button class="launchButton" id="bookmarks">&abouthome.bookmarksButton.label;</button>
<button class="launchButton" id="history">&abouthome.historyButton.label;</button>
<button class="launchButton" id="apps">&abouthome.appsButton2.label;</button>
<button class="launchButton" id="addons">&abouthome.addonsButton.label;</button>
<button class="launchButton" id="sync">&abouthome.syncButton.label;</button>
#ifdef XP_WIN
Expand Down
Binary file removed browser/base/content/abouthome/apps.png
Binary file not shown.
Binary file removed browser/base/content/abouthome/apps@2x.png
Binary file not shown.
4 changes: 0 additions & 4 deletions browser/base/content/tab-content.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,6 @@ var AboutHomeListener = {
sendAsyncMessage("AboutHome:History");
break;

case "apps":
sendAsyncMessage("AboutHome:Apps");
break;

case "addons":
sendAsyncMessage("AboutHome:Addons");
break;
Expand Down
2 changes: 0 additions & 2 deletions browser/base/jar.mn
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ browser.jar:
content/browser/abouthome/downloads.png (content/abouthome/downloads.png)
content/browser/abouthome/bookmarks.png (content/abouthome/bookmarks.png)
content/browser/abouthome/history.png (content/abouthome/history.png)
content/browser/abouthome/apps.png (content/abouthome/apps.png)
content/browser/abouthome/addons.png (content/abouthome/addons.png)
content/browser/abouthome/sync.png (content/abouthome/sync.png)
content/browser/abouthome/settings.png (content/abouthome/settings.png)
Expand All @@ -39,7 +38,6 @@ browser.jar:
content/browser/abouthome/downloads@2x.png (content/abouthome/downloads@2x.png)
content/browser/abouthome/bookmarks@2x.png (content/abouthome/bookmarks@2x.png)
content/browser/abouthome/history@2x.png (content/abouthome/history@2x.png)
content/browser/abouthome/apps@2x.png (content/abouthome/apps@2x.png)
content/browser/abouthome/addons@2x.png (content/abouthome/addons@2x.png)
content/browser/abouthome/sync@2x.png (content/abouthome/sync@2x.png)
content/browser/abouthome/settings@2x.png (content/abouthome/settings@2x.png)
Expand Down
4 changes: 0 additions & 4 deletions browser/locales/en-US/chrome/browser/aboutHome.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,5 @@
preferences/options item on about:home on Linux and OS X -->
<!ENTITY abouthome.preferencesButtonUnix.label "Preferences">
<!ENTITY abouthome.addonsButton.label "Add-ons">
<!-- LOCALIZATION NOTE (abouthome.appsButton2.label): This string should be consistent with
the Apps menu item in the Tools menu (webapps.label in browser.dtd) and the Apps toolbar button in
Firefox's customization palette (web-apps-button.label in customizableWidgets.properties) -->
<!ENTITY abouthome.appsButton2.label "Apps">
<!ENTITY abouthome.downloadsButton.label "Downloads">
<!ENTITY abouthome.syncButton.label "&syncBrand.shortName.label;">
5 changes: 0 additions & 5 deletions browser/modules/AboutHome.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ var AboutHome = {
"AboutHome:Downloads",
"AboutHome:Bookmarks",
"AboutHome:History",
"AboutHome:Apps",
"AboutHome:Addons",
"AboutHome:Sync",
"AboutHome:Settings",
Expand Down Expand Up @@ -134,10 +133,6 @@ var AboutHome = {
window.PlacesCommandHook.showPlacesOrganizer("History");
break;

case "AboutHome:Apps":
window.BrowserOpenApps();
break;

case "AboutHome:Addons":
window.BrowserOpenAddonsMgr();
break;
Expand Down

0 comments on commit b336cf3

Please sign in to comment.