cui/uiconfig/ui/hyperlinkinternetpage.ui |   52 +++++++++++++++----------------
 sw/qa/extras/accessibility/dialogs.cxx   |    2 -
 2 files changed, 27 insertions(+), 27 deletions(-)

New commits:
commit 083dcb420d70f4fb5ab6864808ffc9e4454e0d43
Author:     Gülşah Köse <gulsah.k...@collabora.com>
AuthorDate: Thu Jul 24 13:07:58 2025 +0300
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Fri Aug 8 08:40:17 2025 +0200

    Make calc hyperlink dialog same with other components
    
    Signed-off-by: Gülşah Köse <gulsah.k...@collabora.com>
    Change-Id: I6d6b5a6a46a34d88d31572ffaaff6b9ee6ce504b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188268
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>

diff --git a/cui/uiconfig/ui/hyperlinkinternetpage.ui 
b/cui/uiconfig/ui/hyperlinkinternetpage.ui
index f8da048893dc..e0b1c6a634e1 100644
--- a/cui/uiconfig/ui/hyperlinkinternetpage.ui
+++ b/cui/uiconfig/ui/hyperlinkinternetpage.ui
@@ -26,13 +26,12 @@
             <property name="row-spacing">6</property>
             <property name="column-spacing">12</property>
             <child>
-              <object class="GtkLabel" id="target_label">
+              <object class="GtkLabel" id="indication_label">
                 <property name="visible">True</property>
                 <property name="can-focus">False</property>
-                <property name="halign">start</property>
-                <property name="label" translatable="yes" 
context="hyperlinkinternetpage|target_label">_URL:</property>
+                <property name="label" translatable="yes" 
context="hyperlinkinternetpage|indication_label">Te_xt:</property>
                 <property name="use-underline">True</property>
-                <property name="mnemonic-widget">target</property>
+                <property name="mnemonic-widget">indication</property>
                 <property name="xalign">0</property>
               </object>
               <packing>
@@ -41,21 +40,14 @@
               </packing>
             </child>
             <child>
-              <object class="GtkComboBoxText" id="target">
+              <object class="GtkEntry" id="indication">
                 <property name="visible">True</property>
-                <property name="can-focus">False</property>
-                <property name="hexpand">True</property>
-                <property name="has-entry">True</property>
-                <child internal-child="entry">
-                  <object class="GtkEntry">
-                    <property name="can-focus">True</property>
-                    <property name="activates-default">True</property>
-                    <property name="truncate-multiline">True</property>
-                  </object>
-                </child>
+                <property name="can-focus">True</property>
+                <property name="activates-default">True</property>
+                <property name="truncate-multiline">True</property>
                 <child internal-child="accessible">
-                  <object class="AtkObject" id="target-atkobject">
-                    <property name="AtkObject::accessible-description" 
translatable="yes" context="hyperlinkinternetpage|extended_tip|target">Enter a 
URL for the file that you want to open when you click the hyperlink. If you do 
not specify a target frame, the file opens in the current document or 
frame.</property>
+                  <object class="AtkObject" id="indication-atkobject">
+                    <property name="AtkObject::accessible-description" 
translatable="yes" 
context="hyperlinkinternetpage|extended_tip|indication">Specifies the visible 
text or button caption for the hyperlink.</property>
                   </object>
                 </child>
               </object>
@@ -65,12 +57,13 @@
               </packing>
             </child>
             <child>
-              <object class="GtkLabel" id="indication_label">
+              <object class="GtkLabel" id="target_label">
                 <property name="visible">True</property>
                 <property name="can-focus">False</property>
-                <property name="label" translatable="yes" 
context="hyperlinkinternetpage|indication_label">Te_xt:</property>
+                <property name="halign">start</property>
+                <property name="label" translatable="yes" 
context="hyperlinkinternetpage|target_label">Link:</property>
                 <property name="use-underline">True</property>
-                <property name="mnemonic-widget">indication</property>
+                <property name="mnemonic-widget">target</property>
                 <property name="xalign">0</property>
               </object>
               <packing>
@@ -79,14 +72,21 @@
               </packing>
             </child>
             <child>
-              <object class="GtkEntry" id="indication">
+              <object class="GtkComboBoxText" id="target">
                 <property name="visible">True</property>
-                <property name="can-focus">True</property>
-                <property name="activates-default">True</property>
-                <property name="truncate-multiline">True</property>
+                <property name="can-focus">False</property>
+                <property name="hexpand">True</property>
+                <property name="has-entry">True</property>
+                <child internal-child="entry">
+                  <object class="GtkEntry">
+                    <property name="can-focus">True</property>
+                    <property name="activates-default">True</property>
+                    <property name="truncate-multiline">True</property>
+                  </object>
+                </child>
                 <child internal-child="accessible">
-                  <object class="AtkObject" id="indication-atkobject">
-                    <property name="AtkObject::accessible-description" 
translatable="yes" 
context="hyperlinkinternetpage|extended_tip|indication">Specifies the visible 
text or button caption for the hyperlink.</property>
+                  <object class="AtkObject" id="target-atkobject">
+                    <property name="AtkObject::accessible-description" 
translatable="yes" context="hyperlinkinternetpage|extended_tip|target">Enter a 
URL for the file that you want to open when you click the hyperlink. If you do 
not specify a target frame, the file opens in the current document or 
frame.</property>
                   </object>
                 </child>
               </object>
diff --git a/sw/qa/extras/accessibility/dialogs.cxx 
b/sw/qa/extras/accessibility/dialogs.cxx
index 1072a2c47b1f..75d5f15bdc54 100644
--- a/sw/qa/extras/accessibility/dialogs.cxx
+++ b/sw/qa/extras/accessibility/dialogs.cxx
@@ -102,7 +102,7 @@ CPPUNIT_TEST_FIXTURE(test::AccessibleTestBase, 
BasicTestHyperlinkDialog)
         dumpA11YTree(dialog.getAccessible()->getAccessibleContext());
 
         // Focus the URL box (should be default, but make sure we're on it)
-        CPPUNIT_ASSERT(dialog.tabTo(accessibility::AccessibleRole::COMBO_BOX, 
u"URL:"));
+        CPPUNIT_ASSERT(dialog.tabTo(accessibility::AccessibleRole::COMBO_BOX, 
u"Link:"));
         // Fill in an address
         dialog.postExtTextEventAsync(u"https://libreoffice.org/"_ustr);
         // Validate the whole dialog

Reply via email to