sw/uiconfig/swriter/ui/notebookbar.ui |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

New commits:
commit 7999a3ff55d09cfc599abb3c2aa0c123dcd4dc0a
Author:     Justin Luth <justin.l...@collabora.com>
AuthorDate: Thu May 4 10:16:49 2023 -0400
Commit:     Justin Luth <jl...@mail.com>
CommitDate: Thu May 18 01:59:28 2023 +0200

    tdf#86630 sw page number wizard: add to notebookbar insert menus
    
    There are two places in the notebookbar where this
    Insert page number could fit - in insert and in layout.
    
    Both of these have "Title Page" in the menu at the right,
    so this patch adds the page number wizard underneath that.
    (Title pages should be setup first before page numbers are added.)
    
    This is pretty non-controversial I would hope.
    A follow-up patch will consider placing it on the main ribbon.
    
    Change-Id: I195ee5a134a581cb6570485f84e4030b63d7895c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151396
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <jl...@mail.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151893
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>

diff --git a/sw/uiconfig/swriter/ui/notebookbar.ui 
b/sw/uiconfig/swriter/ui/notebookbar.ui
index 6cdec543af43..19bf1c879057 100644
--- a/sw/uiconfig/swriter/ui/notebookbar.ui
+++ b/sw/uiconfig/swriter/ui/notebookbar.ui
@@ -1003,6 +1003,13 @@
         <property name="action_name">.uno:TitlePageDialog</property>
       </object>
     </child>
+    <child>
+      <object class="GtkMenuItem" id="MenuInsert-PageNumberWizard">
+        <property name="visible">True</property>
+        <property name="can_focus">False</property>
+        <property name="action_name">.uno:PageNumberWizard</property>
+      </object>
+    </child>
     <child>
       <object class="GtkSeparatorMenuItem" id="separator4">
         <property name="visible">True</property>
@@ -1277,6 +1284,13 @@
         <property name="action_name">.uno:TitlePageDialog</property>
       </object>
     </child>
+    <child>
+      <object class="GtkMenuItem" id="MenuPage-PageNumberWizard">
+        <property name="visible">True</property>
+        <property name="can_focus">False</property>
+        <property name="action_name">.uno:PageNumberWizard</property>
+      </object>
+    </child>
     <child>
       <object class="GtkMenuItem" id="MenuPage-Watermark">
         <property name="visible">True</property>

Reply via email to