Bug 513168 - Remove "Stop" and "Reload" from View menu. r=mak
authorDão Gottwald <dao@mozilla.com>
Wed, 24 Jul 2013 18:36:04 +0200
changeset 139858 711c00277568c51fd8cc98265dd89578cc41c93e
parent 139857 89a4ff6bdc937068222da3f0cc1a0cb3a8a8c797
child 139859 1dfeded92d67bb1766362f43597c36827bd24f53
push id25005
push userkwierso@gmail.com
push dateThu, 25 Jul 2013 02:45:48 +0000
treeherdermozilla-central@a4c1961bf723 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmak
bugs513168
milestone25.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 513168 - Remove "Stop" and "Reload" from View menu. r=mak
browser/base/content/browser-menubar.inc
browser/themes/linux/browser.css
--- a/browser/base/content/browser-menubar.inc
+++ b/browser/base/content/browser-menubar.inc
@@ -209,34 +209,16 @@
                               label="&historyButton.label;"/>
                     <menuitem id="menu_socialSidebar"
                               type="checkbox"
                               autocheck="false"
                               command="Social:ToggleSidebar"/>
                   </menupopup>
                 </menu>
                 <menuseparator/>
-                <menuitem id="menu_stop"
-                          class="show-only-for-keyboard"
-                          label="&stopCmd.label;"
-                          accesskey="&stopCmd.accesskey;"
-                          command="Browser:Stop"
-#ifdef XP_MACOSX
-                          key="key_stop_mac"/>
-#else
-                          key="key_stop"/>
-#endif
-                <menuitem id="menu_reload"
-                          class="show-only-for-keyboard"
-                          label="&reloadCmd.label;"
-                          accesskey="&reloadCmd.accesskey;"
-                          key="key_reload"
-                          command="Browser:ReloadOrDuplicate"
-                          onclick="checkForMiddleClick(this, event);"/>
-                <menuseparator class="show-only-for-keyboard"/>
                 <menu id="viewFullZoomMenu" label="&fullZoom.label;"
                       accesskey="&fullZoom.accesskey;"
                       onpopupshowing="FullZoom.updateMenu();">
                   <menupopup>
                     <menuitem id="menu_zoomEnlarge"
                               key="key_fullZoomEnlarge"
                               label="&fullZoomEnlargeCmd.label;"
                               accesskey="&fullZoomEnlargeCmd.accesskey;"
--- a/browser/themes/linux/browser.css
+++ b/browser/themes/linux/browser.css
@@ -366,34 +366,30 @@ menuitem:not([type]):not(.menuitem-toolt
 }
 
 #appmenu_customize,
 #appmenu_preferences,
 #menu_preferences {
   list-style-image: url("moz-icon://stock/gtk-preferences?size=menu");
 }
 
-#menu_stop,
 #context-stop {
   list-style-image: url("moz-icon://stock/gtk-stop?size=menu");
 }
 
-#menu_stop[disabled],
 #context-stop[disabled] {
   list-style-image: url("moz-icon://stock/gtk-stop?size=menu&state=disabled");
 }
 
-#menu_reload,
 #placesContext_reload,
 #context-reload,
 #context-reloadframe {
   list-style-image: url("moz-icon://stock/gtk-refresh?size=menu");
 }
 
-#menu_reload[disabled],
 #context-reload[disabled] {
   list-style-image: url("moz-icon://stock/gtk-refresh?size=menu&state=disabled");
 }
 
 #menu_zoomEnlarge {
   list-style-image: url("moz-icon://stock/gtk-zoom-in?size=menu");
 }