sw/source/ui/frmdlg/frmpage.cxx      |    2 
 sw/source/uibase/inc/frmpage.hxx     |    1 
 sw/uiconfig/swriter/ui/frmaddpage.ui |  422 ++++++++++++++++++-----------------
 3 files changed, 232 insertions(+), 193 deletions(-)

New commits:
commit 755e0cd60d4634111911469b752485da678988e1
Author:     Heiko Tietze <[email protected]>
AuthorDate: Wed Jun 8 14:08:37 2022 +0200
Commit:     Heiko Tietze <[email protected]>
CommitDate: Wed Jun 8 20:35:43 2022 +0200

    Resolves tdf#149010 - MInor UI fixes
    
    * Next/Previous controls placed in an extra frame
    * This frame becomes hidden in case of picture and objects
    (next/prev is only possible for frames)
    
    Change-Id: Iab7042b72efa7857c5405a8c345ba03d6b975519
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135494
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <[email protected]>

diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx
index 35db7c25135a..83cf98f49195 100644
--- a/sw/source/ui/frmdlg/frmpage.cxx
+++ b/sw/source/ui/frmdlg/frmpage.cxx
@@ -2793,6 +2793,7 @@ SwFrameAddPage::SwFrameAddPage(weld::Container* pPage, 
weld::DialogController* p
     , m_xAltNameED(m_xBuilder->weld_entry("altname"))
     , m_xDescriptionFT(m_xBuilder->weld_label("description_label"))
     , m_xDescriptionED(m_xBuilder->weld_text_view("description"))
+    , m_xSequenceFrame(m_xBuilder->weld_widget("frmSequence"))
     , m_xPrevFT(m_xBuilder->weld_label("prev_label"))
     , m_xPrevLB(m_xBuilder->weld_combo_box("prev"))
     , m_xNextFT(m_xBuilder->weld_label("next_label"))
@@ -2840,6 +2841,7 @@ void SwFrameAddPage::Reset(const SfxItemSet *rSet )
     }
     if (m_sDlgType == "PictureDialog" || m_sDlgType == "ObjectDialog")
     {
+        m_xSequenceFrame->hide();
         m_xEditInReadonlyCB->hide();
         if (m_bHtmlMode)
         {
diff --git a/sw/source/uibase/inc/frmpage.hxx b/sw/source/uibase/inc/frmpage.hxx
index 8211dc7b350b..1e01a6fa100d 100644
--- a/sw/source/uibase/inc/frmpage.hxx
+++ b/sw/source/uibase/inc/frmpage.hxx
@@ -280,6 +280,7 @@ class SwFrameAddPage final : public SfxTabPage
     std::unique_ptr<weld::Entry> m_xAltNameED;
     std::unique_ptr<weld::Label> m_xDescriptionFT;
     std::unique_ptr<weld::TextView> m_xDescriptionED;
+    std::unique_ptr<weld::Widget> m_xSequenceFrame;
     std::unique_ptr<weld::Label> m_xPrevFT;
     std::unique_ptr<weld::ComboBox> m_xPrevLB;
     std::unique_ptr<weld::Label> m_xNextFT;
diff --git a/sw/uiconfig/swriter/ui/frmaddpage.ui 
b/sw/uiconfig/swriter/ui/frmaddpage.ui
index f306f7d1c223..dd949a5b69cf 100644
--- a/sw/uiconfig/swriter/ui/frmaddpage.ui
+++ b/sw/uiconfig/swriter/ui/frmaddpage.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.36.0 -->
+<!-- Generated with glade 3.38.2 -->
 <interface domain="sw">
   <requires lib="gtk+" version="3.20"/>
   <object class="GtkTextBuffer" id="textbuffer1">
@@ -9,40 +9,40 @@
 
 </property>
   </object>
-  <!-- n-columns=1 n-rows=1 -->
+  <!-- n-columns=2 n-rows=4 -->
   <object class="GtkGrid" id="FrameAddPage">
     <property name="visible">True</property>
-    <property name="can_focus">False</property>
+    <property name="can-focus">False</property>
     <property name="hexpand">True</property>
-    <property name="border_width">6</property>
-    <property name="row_spacing">12</property>
-    <property name="column_spacing">24</property>
+    <property name="border-width">6</property>
+    <property name="row-spacing">12</property>
+    <property name="column-spacing">24</property>
     <child>
       <object class="GtkFrame" id="nameframe">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
+        <property name="can-focus">False</property>
         <property name="hexpand">True</property>
         <property name="vexpand">True</property>
-        <property name="label_xalign">0</property>
-        <property name="shadow_type">none</property>
+        <property name="label-xalign">0</property>
+        <property name="shadow-type">none</property>
         <child>
-          <!-- n-columns=1 n-rows=1 -->
+          <!-- n-columns=2 n-rows=3 -->
           <object class="GtkGrid" id="grid1">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="hexpand">True</property>
-            <property name="vexpand">True</property>
-            <property name="row_spacing">6</property>
-            <property name="column_spacing">12</property>
+            <property name="can-focus">False</property>
             <property name="margin-start">12</property>
             <property name="margin-top">6</property>
+            <property name="hexpand">True</property>
+            <property name="vexpand">True</property>
+            <property name="row-spacing">6</property>
+            <property name="column-spacing">12</property>
             <child>
               <object class="GtkEntry" id="name">
                 <property name="visible">True</property>
-                <property name="can_focus">True</property>
+                <property name="can-focus">True</property>
                 <property name="hexpand">True</property>
-                <property name="activates_default">True</property>
-                <property name="width_chars">50</property>
+                <property name="activates-default">True</property>
+                <property name="width-chars">50</property>
                 <property name="truncate-multiline">True</property>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="name-atkobject">
@@ -51,17 +51,17 @@
                 </child>
               </object>
               <packing>
-                <property name="left_attach">1</property>
-                <property name="top_attach">0</property>
+                <property name="left-attach">1</property>
+                <property name="top-attach">0</property>
               </packing>
             </child>
             <child>
               <object class="GtkEntry" id="altname">
                 <property name="visible">True</property>
-                <property name="can_focus">True</property>
+                <property name="can-focus">True</property>
                 <property name="hexpand">True</property>
-                <property name="activates_default">True</property>
-                <property name="width_chars">50</property>
+                <property name="activates-default">True</property>
+                <property name="width-chars">50</property>
                 <property name="truncate-multiline">True</property>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="altname-atkobject">
@@ -70,28 +70,28 @@
                 </child>
               </object>
               <packing>
-                <property name="left_attach">1</property>
-                <property name="top_attach">1</property>
+                <property name="left-attach">1</property>
+                <property name="top-attach">1</property>
               </packing>
             </child>
             <child>
               <object class="GtkLabel" id="name_label">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
+                <property name="can-focus">False</property>
                 <property name="label" translatable="yes" 
context="frmaddpage|name_label">_Name:</property>
-                <property name="use_underline">True</property>
-                <property name="mnemonic_widget">name</property>
+                <property name="use-underline">True</property>
+                <property name="mnemonic-widget">name</property>
                 <property name="xalign">0</property>
               </object>
               <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">0</property>
+                <property name="left-attach">0</property>
+                <property name="top-attach">0</property>
               </packing>
             </child>
             <child>
               <object class="GtkLabel" id="altname_label">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
+                <property name="can-focus">False</property>
                 <property name="label" translatable="yes" 
context="frmaddpage|altname_label">Text _Alternative:</property>
                 <property name="tooltip_text" translatable="yes" 
context="frmaddpage|altname_label|tooltip_text">Give a short description for 
users who do not see this object.</property>
                 <property name="use_underline">True</property>
@@ -99,82 +99,14 @@
                 <property name="xalign">0</property>
               </object>
               <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">1</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkComboBoxText" id="prev">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="hexpand">True</property>
-                <items>
-                  <item translatable="yes" 
context="frmaddpage|prev">&lt;None&gt;</item>
-                </items>
-                <child internal-child="accessible">
-                  <object class="AtkObject" id="prev-atkobject">
-                    <property name="AtkObject::accessible-description" 
translatable="yes" context="frmaddpage|extended_tip|prev">Displays the frame 
that comes before the current frame in a linked sequence. To add or change the 
previous link, select a frame from the list. If you are linking frames, the 
current frame and the target frame must be empty.</property>
-                  </object>
-                </child>
-              </object>
-              <packing>
-                <property name="left_attach">1</property>
-                <property name="top_attach">3</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkComboBoxText" id="next">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="hexpand">True</property>
-                <items>
-                  <item translatable="yes" 
context="frmaddpage|next">&lt;None&gt;</item>
-                </items>
-                <child internal-child="accessible">
-                  <object class="AtkObject" id="next-atkobject">
-                    <property name="AtkObject::accessible-description" 
translatable="yes" context="frmaddpage|extended_tip|next">Displays the frame 
that comes after the current frame in a linked sequence. To add or change the 
next link, select a frame from the list. If you are linking frames, the target 
frame must be empty.</property>
-                  </object>
-                </child>
-              </object>
-              <packing>
-                <property name="left_attach">1</property>
-                <property name="top_attach">4</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkLabel" id="prev_label">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="label" translatable="yes" 
context="frmaddpage|prev_label">_Previous link:</property>
-                <property name="tooltip_text" translatable="yes" 
context="frmaddpage|prev_label">Link this frame prior to current 
frame.</property>
-                <property name="use_underline">True</property>
-                <property name="mnemonic_widget">prev</property>
-                <property name="xalign">0</property>
-              </object>
-              <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">3</property>
-              </packing>
-            </child>
-            <child>
-              <object class="GtkLabel" id="next_label">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="label" translatable="yes" 
context="frmaddpage|next_label">_Next link:</property>
-                <property name="tooltip_text" translatable="yes" 
context="frmaddpage|next_label">Link this frame after the current 
frame.</property>
-                <property name="use_underline">True</property>
-                <property name="mnemonic_widget">next</property>
-                <property name="xalign">0</property>
-              </object>
-              <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">4</property>
+                <property name="left-attach">0</property>
+                <property name="top-attach">1</property>
               </packing>
             </child>
             <child>
               <object class="GtkLabel" id="description_label">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
+                <property name="can-focus">False</property>
                 <property name="label" translatable="yes" 
context="frmaddpage|description_label">_Description:</property>
                 <property name="tooltip_text" translatable="yes" 
context="frmaddpage|description_label">Give a longer explanation of the content 
if it is too complex to be described briefly in “Text Alternative.”</property>
                 <property name="use_underline">True</property>
@@ -182,24 +114,24 @@
                 <property name="xalign">0</property>
               </object>
               <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">2</property>
+                <property name="left-attach">0</property>
+                <property name="top-attach">2</property>
               </packing>
             </child>
             <child>
               <object class="GtkScrolledWindow" id="scrolledwindow1">
                 <property name="visible">True</property>
-                <property name="can_focus">True</property>
+                <property name="can-focus">True</property>
                 <property name="hexpand">True</property>
                 <property name="vexpand">True</property>
-                <property name="shadow_type">in</property>
+                <property name="shadow-type">in</property>
                 <child>
                   <object class="GtkTextView" id="description">
                     <property name="visible">True</property>
-                    <property name="can_focus">True</property>
+                    <property name="can-focus">True</property>
                     <property name="hexpand">True</property>
                     <property name="vexpand">True</property>
-                    <property name="wrap_mode">word</property>
+                    <property name="wrap-mode">word</property>
                     <property name="buffer">textbuffer1</property>
                     <child internal-child="accessible">
                       <object class="AtkObject" id="description-atkobject">
@@ -210,8 +142,8 @@
                 </child>
               </object>
               <packing>
-                <property name="left_attach">1</property>
-                <property name="top_attach">2</property>
+                <property name="left-attach">1</property>
+                <property name="top-attach">2</property>
               </packing>
             </child>
           </object>
@@ -219,7 +151,7 @@
         <child type="label">
           <object class="GtkLabel" id="label1">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
+            <property name="can-focus">False</property>
             <property name="label" translatable="yes" 
context="frmaddpage|label1">Accessibility</property>
             <attributes>
               <attribute name="weight" value="bold"/>
@@ -228,33 +160,33 @@
         </child>
       </object>
       <packing>
-        <property name="left_attach">0</property>
-        <property name="top_attach">0</property>
+        <property name="left-attach">0</property>
+        <property name="top-attach">0</property>
         <property name="width">2</property>
       </packing>
     </child>
     <child>
       <object class="GtkFrame" id="protect">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
-        <property name="label_xalign">0</property>
-        <property name="shadow_type">none</property>
+        <property name="can-focus">False</property>
+        <property name="label-xalign">0</property>
+        <property name="shadow-type">none</property>
         <child>
-          <!-- n-columns=1 n-rows=1 -->
+          <!-- n-columns=1 n-rows=3 -->
           <object class="GtkGrid" id="grid9">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="row_spacing">3</property>
+            <property name="can-focus">False</property>
             <property name="margin-start">12</property>
             <property name="margin-top">6</property>
+            <property name="row-spacing">3</property>
             <child>
               <object class="GtkCheckButton" id="protectcontent">
                 <property name="label" translatable="yes" 
context="frmaddpage|protectcontent">_Contents</property>
                 <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="receives_default">False</property>
-                <property name="use_underline">True</property>
-                <property name="draw_indicator">True</property>
+                <property name="can-focus">True</property>
+                <property name="receives-default">False</property>
+                <property name="use-underline">True</property>
+                <property name="draw-indicator">True</property>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="protectcontent-atkobject">
                     <property name="AtkObject::accessible-description" 
translatable="yes" context="frmaddpage|extended_tip|protectcontent">Prevents 
changes to the contents of the selected item.</property>
@@ -262,18 +194,18 @@
                 </child>
               </object>
               <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">0</property>
+                <property name="left-attach">0</property>
+                <property name="top-attach">0</property>
               </packing>
             </child>
             <child>
               <object class="GtkCheckButton" id="protectframe">
                 <property name="label" translatable="yes" 
context="frmaddpage|protectframe">P_osition</property>
                 <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="receives_default">False</property>
-                <property name="use_underline">True</property>
-                <property name="draw_indicator">True</property>
+                <property name="can-focus">True</property>
+                <property name="receives-default">False</property>
+                <property name="use-underline">True</property>
+                <property name="draw-indicator">True</property>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="protectframe-atkobject">
                     <property name="AtkObject::accessible-description" 
translatable="yes" context="frmaddpage|extended_tip|protectframe">Locks the 
position of the selected item in the current document.</property>
@@ -281,18 +213,18 @@
                 </child>
               </object>
               <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">1</property>
+                <property name="left-attach">0</property>
+                <property name="top-attach">1</property>
               </packing>
             </child>
             <child>
               <object class="GtkCheckButton" id="protectsize">
                 <property name="label" translatable="yes" 
context="frmaddpage|protectsize">_Size</property>
                 <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="receives_default">False</property>
-                <property name="use_underline">True</property>
-                <property name="draw_indicator">True</property>
+                <property name="can-focus">True</property>
+                <property name="receives-default">False</property>
+                <property name="use-underline">True</property>
+                <property name="draw-indicator">True</property>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="protectsize-atkobject">
                     <property name="AtkObject::accessible-description" 
translatable="yes" context="frmaddpage|extended_tip|protectsize">Locks the size 
of the selected item.</property>
@@ -300,8 +232,8 @@
                 </child>
               </object>
               <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">2</property>
+                <property name="left-attach">0</property>
+                <property name="top-attach">2</property>
               </packing>
             </child>
           </object>
@@ -309,7 +241,7 @@
         <child type="label">
           <object class="GtkLabel" id="label8">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
+            <property name="can-focus">False</property>
             <property name="label" translatable="yes" 
context="frmaddpage|label8">Protect</property>
             <attributes>
               <attribute name="weight" value="bold"/>
@@ -318,40 +250,40 @@
         </child>
       </object>
       <packing>
-        <property name="left_attach">0</property>
-        <property name="top_attach">1</property>
+        <property name="left-attach">0</property>
+        <property name="top-attach">2</property>
       </packing>
     </child>
     <child>
       <object class="GtkFrame" id="contentalign">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
-        <property name="label_xalign">0</property>
-        <property name="shadow_type">none</property>
+        <property name="can-focus">False</property>
+        <property name="label-xalign">0</property>
+        <property name="shadow-type">none</property>
         <child>
-          <!-- n-columns=1 n-rows=1 -->
+          <!-- n-columns=2 n-rows=1 -->
           <object class="GtkGrid" id="grid8">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="column_spacing">12</property>
+            <property name="can-focus">False</property>
             <property name="margin-start">12</property>
             <property name="margin-top">6</property>
+            <property name="column-spacing">12</property>
             <child>
               <object class="GtkLabel" id="label2">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
+                <property name="can-focus">False</property>
                 <property name="label" translatable="yes" 
context="frmaddpage|label2">_Vertical alignment:</property>
-                <property name="use_underline">True</property>
+                <property name="use-underline">True</property>
               </object>
               <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">0</property>
+                <property name="left-attach">0</property>
+                <property name="top-attach">0</property>
               </packing>
             </child>
             <child>
               <object class="GtkComboBoxText" id="vertalign">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
+                <property name="can-focus">False</property>
                 <items>
                   <item id="0" translatable="yes" 
context="frmaddpage|liststore">Top</item>
                   <item id="1" translatable="yes" 
context="frmaddpage|liststore">Centered</item>
@@ -364,8 +296,8 @@
                 </child>
               </object>
               <packing>
-                <property name="left_attach">1</property>
-                <property name="top_attach">0</property>
+                <property name="left-attach">1</property>
+                <property name="top-attach">0</property>
               </packing>
             </child>
           </object>
@@ -373,7 +305,7 @@
         <child type="label">
           <object class="GtkLabel" id="label7">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
+            <property name="can-focus">False</property>
             <property name="label" translatable="yes" 
context="frmaddpage|label7">Content Alignment</property>
             <attributes>
               <attribute name="weight" value="bold"/>
@@ -382,35 +314,35 @@
         </child>
       </object>
       <packing>
-        <property name="left_attach">1</property>
-        <property name="top_attach">1</property>
+        <property name="left-attach">1</property>
+        <property name="top-attach">2</property>
       </packing>
     </child>
     <child>
       <object class="GtkFrame" id="properties">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
-        <property name="label_xalign">0</property>
-        <property name="shadow_type">none</property>
+        <property name="can-focus">False</property>
+        <property name="label-xalign">0</property>
+        <property name="shadow-type">none</property>
         <child>
-          <!-- n-columns=1 n-rows=1 -->
+          <!-- n-columns=2 n-rows=3 -->
           <object class="GtkGrid" id="grid3">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="hexpand">True</property>
-            <property name="vexpand">True</property>
-            <property name="row_spacing">3</property>
-            <property name="column_spacing">12</property>
+            <property name="can-focus">False</property>
             <property name="margin-start">12</property>
             <property name="margin-top">6</property>
+            <property name="hexpand">True</property>
+            <property name="vexpand">True</property>
+            <property name="row-spacing">3</property>
+            <property name="column-spacing">12</property>
             <child>
               <object class="GtkCheckButton" id="editinreadonly">
                 <property name="label" translatable="yes" 
context="frmaddpage|editinreadonly">_Editable in read-only document</property>
                 <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="receives_default">False</property>
-                <property name="use_underline">True</property>
-                <property name="draw_indicator">True</property>
+                <property name="can-focus">True</property>
+                <property name="receives-default">False</property>
+                <property name="use-underline">True</property>
+                <property name="draw-indicator">True</property>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="editinreadonly-atkobject">
                     <property name="AtkObject::accessible-description" 
translatable="yes" context="frmaddpage|extended_tip|editinreadonly">Allows you 
to edit the contents of a frame in a document that is read-only 
(write-protected).</property>
@@ -418,8 +350,8 @@
                 </child>
               </object>
               <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">0</property>
+                <property name="left-attach">0</property>
+                <property name="top-attach">0</property>
                 <property name="width">2</property>
               </packing>
             </child>
@@ -427,10 +359,10 @@
               <object class="GtkCheckButton" id="printframe">
                 <property name="label" translatable="yes" 
context="frmaddpage|printframe">Prin_t</property>
                 <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="receives_default">False</property>
-                <property name="use_underline">True</property>
-                <property name="draw_indicator">True</property>
+                <property name="can-focus">True</property>
+                <property name="receives-default">False</property>
+                <property name="use-underline">True</property>
+                <property name="draw-indicator">True</property>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="printframe-atkobject">
                     <property name="AtkObject::accessible-description" 
translatable="yes" context="frmaddpage|extended_tip|printframe">Includes the 
selected item when you print the document.</property>
@@ -438,15 +370,15 @@
                 </child>
               </object>
               <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">1</property>
+                <property name="left-attach">0</property>
+                <property name="top-attach">1</property>
                 <property name="width">2</property>
               </packing>
             </child>
             <child>
               <object class="GtkComboBoxText" id="textflow">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
+                <property name="can-focus">False</property>
                 <property name="hexpand">True</property>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="textflow-atkobject">
@@ -455,22 +387,22 @@
                 </child>
               </object>
               <packing>
-                <property name="left_attach">1</property>
-                <property name="top_attach">2</property>
+                <property name="left-attach">1</property>
+                <property name="top-attach">2</property>
               </packing>
             </child>
             <child>
               <object class="GtkLabel" id="textflow_label">
-                <property name="can_focus">False</property>
-                <property name="no_show_all">True</property>
+                <property name="can-focus">False</property>
+                <property name="no-show-all">True</property>
                 <property name="label" translatable="yes" 
context="frmaddpage|textflow_label">_Text direction:</property>
-                <property name="use_underline">True</property>
-                <property name="mnemonic_widget">textflow</property>
+                <property name="use-underline">True</property>
+                <property name="mnemonic-widget">textflow</property>
                 <property name="xalign">0</property>
               </object>
               <packing>
-                <property name="left_attach">0</property>
-                <property name="top_attach">2</property>
+                <property name="left-attach">0</property>
+                <property name="top-attach">2</property>
               </packing>
             </child>
           </object>
@@ -478,7 +410,7 @@
         <child type="label">
           <object class="GtkLabel" id="label3">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
+            <property name="can-focus">False</property>
             <property name="label" translatable="yes" 
context="frmaddpage|label3">Properties</property>
             <attributes>
               <attribute name="weight" value="bold"/>
@@ -487,8 +419,113 @@
         </child>
       </object>
       <packing>
-        <property name="left_attach">0</property>
-        <property name="top_attach">2</property>
+        <property name="left-attach">0</property>
+        <property name="top-attach">3</property>
+        <property name="width">2</property>
+      </packing>
+    </child>
+    <child>
+      <object class="GtkFrame" id="frmSequence">
+        <property name="visible">True</property>
+        <property name="can-focus">False</property>
+        <property name="label-xalign">0</property>
+        <property name="shadow-type">none</property>
+        <child>
+          <!-- n-columns=2 n-rows=2 -->
+          <object class="GtkGrid" id="gdSequence">
+            <property name="visible">True</property>
+            <property name="can-focus">False</property>
+            <property name="margin-start">12</property>
+            <property name="margin-top">6</property>
+            <property name="hexpand">True</property>
+            <property name="vexpand">True</property>
+            <property name="row-spacing">6</property>
+            <property name="column-spacing">12</property>
+            <child>
+              <object class="GtkLabel" id="prev_label">
+                <property name="visible">True</property>
+                <property name="can-focus">False</property>
+                <property name="tooltip-text" translatable="yes" 
context="frmaddpage|prev_label">Link this frame prior to current 
frame.</property>
+                <property name="label" translatable="yes" 
context="frmaddpage|prev_label">_Previous link:</property>
+                <property name="use-underline">True</property>
+                <property name="mnemonic-widget">prev</property>
+                <property name="xalign">0</property>
+              </object>
+              <packing>
+                <property name="left-attach">0</property>
+                <property name="top-attach">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkComboBoxText" id="prev">
+                <property name="visible">True</property>
+                <property name="can-focus">False</property>
+                <property name="hexpand">True</property>
+                <items>
+                  <item translatable="yes" 
context="frmaddpage|prev">&lt;None&gt;</item>
+                </items>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="prev-atkobject">
+                    <property name="AtkObject::accessible-description" 
translatable="yes" context="frmaddpage|extended_tip|prev">Displays the frame 
that comes before the current frame in a linked sequence. To add or change the 
previous link, select a frame from the list. If you are linking frames, the 
current frame and the target frame must be empty.</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left-attach">1</property>
+                <property name="top-attach">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="next_label">
+                <property name="visible">True</property>
+                <property name="can-focus">False</property>
+                <property name="tooltip-text" translatable="yes" 
context="frmaddpage|next_label">Link this frame after the current 
frame.</property>
+                <property name="label" translatable="yes" 
context="frmaddpage|next_label">_Next link:</property>
+                <property name="use-underline">True</property>
+                <property name="mnemonic-widget">next</property>
+                <property name="xalign">0</property>
+              </object>
+              <packing>
+                <property name="left-attach">0</property>
+                <property name="top-attach">1</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkComboBoxText" id="next">
+                <property name="visible">True</property>
+                <property name="can-focus">False</property>
+                <property name="hexpand">True</property>
+                <items>
+                  <item translatable="yes" 
context="frmaddpage|next">&lt;None&gt;</item>
+                </items>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="next-atkobject">
+                    <property name="AtkObject::accessible-description" 
translatable="yes" context="frmaddpage|extended_tip|next">Displays the frame 
that comes after the current frame in a linked sequence. To add or change the 
next link, select a frame from the list. If you are linking frames, the target 
frame must be empty.</property>
+                  </object>
+                </child>
+              </object>
+              <packing>
+                <property name="left-attach">1</property>
+                <property name="top-attach">1</property>
+              </packing>
+            </child>
+          </object>
+        </child>
+        <child type="label">
+          <object class="GtkLabel" id="lbSequence">
+            <property name="visible">True</property>
+            <property name="can-focus">False</property>
+            <property name="label" translatable="yes" 
context="frmaddpage|labelSequence">Sequence</property>
+            <property name="tooltip-text" translatable="yes" 
context="frmaddpage|labelSequence">Specify the sequence for linked 
frames.</property>
+            <attributes>
+              <attribute name="weight" value="bold"/>
+            </attributes>
+          </object>
+        </child>
+      </object>
+      <packing>
+        <property name="left-attach">0</property>
+        <property name="top-attach">1</property>
         <property name="width">2</property>
       </packing>
     </child>
@@ -499,15 +536,14 @@
     </child>
   </object>
   <object class="GtkSizeGroup" id="sizegroup1">
-    <property name="ignore_hidden">True</property>
+    <property name="ignore-hidden">True</property>
     <widgets>
       <widget name="name_label"/>
       <widget name="altname_label"/>
-      <widget name="prev_label"/>
-      <widget name="next_label"/>
       <widget name="description_label"/>
-      <widget name="protect"/>
       <widget name="textflow_label"/>
+      <widget name="prev_label"/>
+      <widget name="next_label"/>
     </widgets>
   </object>
 </interface>

Reply via email to