Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8c29357 authored by coudu's avatar coudu
Browse files

Gallery2: Hide "Settings" item from menu. (GallerySettings are empty)

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
parent d61333ae
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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"