Bug 800044 - Hide private browsing menu item. r=mfinkle
authorBrian Nicholson <bnicholson@mozilla.com>
Thu, 11 Oct 2012 17:55:36 -0700
changeset 110135 31bfd182d836781b59b4f4aad787c29a8606f4c4
parent 110134 0bf4db8c014cef1ea9282d8ca126800d4e85f850
child 110136 f0ca98653903d781adfb0687450cf6c8ea1fd77c
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersmfinkle
bugs800044
milestone19.0a1
Bug 800044 - Hide private browsing menu item. r=mfinkle
mobile/android/base/resources/menu-large-v11/browser_app_menu.xml.in
mobile/android/base/resources/menu-v11/browser_app_menu.xml.in
mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml.in
mobile/android/base/resources/menu/browser_app_menu.xml.in
--- a/mobile/android/base/resources/menu-large-v11/browser_app_menu.xml.in
+++ b/mobile/android/base/resources/menu-large-v11/browser_app_menu.xml.in
@@ -28,16 +28,17 @@
           android:title="@string/find_in_page" />
 
     <item android:id="@+id/desktop_mode"
           android:icon="@drawable/ic_menu_desktop_mode_off"
           android:title="@string/desktop_mode"
           android:checkable="true" />
 
     <item android:id="@+id/private_browsing"
+          android:visible="false"
           android:title="@string/new_pb_tab"/>
 
     <item android:title="@string/tools"
           android:icon="@drawable/ic_menu_tools">
 
         <menu>
 
             <item android:id="@+id/save_as_pdf"
--- a/mobile/android/base/resources/menu-v11/browser_app_menu.xml.in
+++ b/mobile/android/base/resources/menu-v11/browser_app_menu.xml.in
@@ -29,16 +29,17 @@
           android:title="@string/find_in_page" />
 
     <item android:id="@+id/desktop_mode"
           android:icon="@drawable/ic_menu_desktop_mode_off"
           android:title="@string/desktop_mode"
           android:checkable="true" />
 
     <item android:id="@+id/private_browsing"
+          android:visible="false"
           android:title="@string/new_pb_tab"/>
 
     <item android:title="@string/tools"
           android:icon="@drawable/ic_menu_tools">
 
         <menu>
 
             <item android:id="@+id/save_as_pdf"
--- a/mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml.in
+++ b/mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml.in
@@ -29,16 +29,17 @@
           android:title="@string/find_in_page" />
 
     <item android:id="@+id/desktop_mode"
           android:icon="@drawable/ic_menu_desktop_mode_off"
           android:title="@string/desktop_mode"
           android:checkable="true" />
 
     <item android:id="@+id/private_browsing"
+          android:visible="false"
           android:title="@string/new_pb_tab"/>
 
     <item android:title="@string/tools"
           android:icon="@drawable/ic_menu_tools">
 
         <menu>
 
             <item android:id="@+id/save_as_pdf"
--- a/mobile/android/base/resources/menu/browser_app_menu.xml.in
+++ b/mobile/android/base/resources/menu/browser_app_menu.xml.in
@@ -28,16 +28,17 @@
     <item android:id="@+id/find_in_page"
           android:title="@string/find_in_page" />
 
     <item android:id="@+id/desktop_mode"
           android:title="@string/desktop_mode"
           android:checkable="true" />
 
     <item android:id="@+id/private_browsing"
+          android:visible="false"
           android:title="@string/new_pb_tab"/>
 
     <item android:id="@+id/addons"
           android:title="@string/addons"/>
 
     <item android:id="@+id/downloads"
           android:title="@string/downloads"/>