summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcoudu <coudu@wanadoo.fr>2013-01-24 00:30:31 +0100
committercoudu <coudu@wanadoo.fr>2013-01-24 13:19:57 +0100
commita8c29357f7e258aadd914b08199a71375f2fae52 (patch)
tree560dad36e507b7648c2c44e26aa25bce273558cb
parentd61333ae99de4fd268d473b3052c3435ff2127eb (diff)
downloadandroid_packages_apps_Gallery2-jellybean.tar.gz
android_packages_apps_Gallery2-jellybean.tar.bz2
android_packages_apps_Gallery2-jellybean.zip
Gallery2: Hide "Settings" item from menu. (GallerySettings are empty)jellybean
Patch Set 2: minor typo fix Patch Set 3: Peter Gregus's easier solution * inspired from Geo-Piskas's cm-10.1 patches * https://github.com/CyanogenMod/android_packages_apps_Gallery2/commit/dde77bda2f1f1923026d7164b38298821f1c825b * https://github.com/CyanogenMod/android_packages_apps_Gallery2/commit/3afe270b445e8804d894166652672c0947d915f1 * Thanks to Peter Gregus for easier solution As soon as GallerySettings.java has content, settings should be set to visible in albumset.xml. Menu without "Settings": http://i.imgur.com/gOX7x.png Change-Id: I499abad5bcc42d19724026c943b0a2b14f2f8bab
-rw-r--r--res/menu/albumset.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/menu/albumset.xml b/res/menu/albumset.xml
index 8ac8cbbd2..2d0c1c67d 100644
--- a/res/menu/albumset.xml
+++ b/res/menu/albumset.xml
@@ -27,9 +27,15 @@
<item android:id="@+id/action_sync_picasa_albums"
android:title="@string/sync_picasa_albums"
android:showAsAction="never" />
+
+ <!-- Settings visibility in menu set to false because they are empty.
+ This should be set to true when GallerySettings.java has content.
+ -->
<item android:id="@+id/action_settings"
android:title="@string/settings"
+ android:visible="false"
android:showAsAction="never" />
+
<item android:id="@+id/action_general_help"
android:title="@string/help"
android:visible="false"