android/source/res/menu/main.xml |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

New commits:
commit 5306ecda9ceb5f9702c2ce6dc6207a3bd5f14a6a
Author:     Michael Weghorn <[email protected]>
AuthorDate: Thu Apr 15 14:31:43 2021 +0200
Commit:     Michael Weghorn <[email protected]>
CommitDate: Fri Apr 16 08:49:21 2021 +0200

    android: Allow printing and PDF export regardless of mode
    
    Don't only enable the "Export To PDF" and "Print" menu
    items if the experimental editing mode is enabled, but
    always offer them, since they should be sufficiently stable
    and don't require any editing of the document.
    
    To do so, move them into a new menu group
    "group_misc_actions", and move the entry for sending
    UNO commands up, so it remains in the
    "group_edit_actions" menu group whose entries are
    hidden unless editing mode is enabled.
    
    Change-Id: I425cf6d0a45306ff48b45dad6fd0e804b87a2546
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114147
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <[email protected]>

diff --git a/android/source/res/menu/main.xml b/android/source/res/menu/main.xml
index 94856d52e759..0570a77fdd7b 100644
--- a/android/source/res/menu/main.xml
+++ b/android/source/res/menu/main.xml
@@ -31,6 +31,9 @@
             android:orderInCategory="100"
             app:showAsAction="always"/>
 
+        <item android:id="@+id/action_UNO_commands"
+            android:title="@string/action_UNO_commands"
+            android:orderInCategory="100" />
 
         <item android:id="@+id/action_save"
             android:title="@string/action_save"
@@ -39,6 +42,11 @@
         <item android:id="@+id/action_save_as"
             android:title="@string/action_save_as"
             android:orderInCategory="100" />
+    </group>
+
+    <group android:id="@+id/group_misc_actions"
+           tools:visible="true"
+           android:visible="false">
 
         <item android:id="@+id/action_exportToPDF"
             android:title="@string/action_exportToPDF"
@@ -51,9 +59,6 @@
             android:orderInCategory="100"
             android:visible="true" />
 
-        <item android:id="@+id/action_UNO_commands"
-            android:title="@string/action_UNO_commands"
-            android:orderInCategory="100" />
     </group>
 
     <group android:id="@+id/group_spreadsheet_options"
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to