Remove SetAccessibleRelationLabeledBy calls tdf#87026
And make proper changes in the related .ui files Change-Id: Iea998b6de25831c08950a8afa725713288113bfa Reviewed-on: https://gerrit.libreoffice.org/25807 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
eee5256e66
commit
3498fd9fe9
@ -143,8 +143,6 @@ ThreeD_SceneGeometry_TabPage::ThreeD_SceneGeometry_TabPage( vcl::Window* pWindow
|
||||
{
|
||||
m_pCbxRightAngledAxes->Enable(false);
|
||||
}
|
||||
m_pMFPerspective->SetAccessibleName(m_pCbxPerspective->GetText());
|
||||
m_pMFPerspective->SetAccessibleRelationLabeledBy(m_pCbxPerspective);
|
||||
}
|
||||
|
||||
ThreeD_SceneGeometry_TabPage::~ThreeD_SceneGeometry_TabPage()
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.20.0 -->
|
||||
<interface>
|
||||
<!-- interface-requires gtk+ 3.0 -->
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<object class="GtkAdjustment" id="adjustmentPERSPECTIVE">
|
||||
<property name="upper">100</property>
|
||||
<property name="step_increment">1</property>
|
||||
@ -32,55 +33,48 @@
|
||||
<property name="left_attach">0</property>
|
||||
<property name="top_attach">0</property>
|
||||
<property name="width">2</property>
|
||||
<property name="height">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="FT_X_ROTATION">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">_X rotation</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">MTR_FLD_X_ROTATION:0degrees</property>
|
||||
<property name="xalign">0</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="top_attach">1</property>
|
||||
<property name="width">1</property>
|
||||
<property name="height">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="FT_Y_ROTATION">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">_Y rotation</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">MTR_FLD_Y_ROTATION:0degrees</property>
|
||||
<property name="xalign">0</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="top_attach">2</property>
|
||||
<property name="width">1</property>
|
||||
<property name="height">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="FT_Z_ROTATION">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">_Z rotation</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">MTR_FLD_Z_ROTATION:0degrees</property>
|
||||
<property name="xalign">0</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="top_attach">3</property>
|
||||
<property name="width">1</property>
|
||||
<property name="height">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
@ -92,12 +86,13 @@
|
||||
<property name="use_underline">True</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
<accessibility>
|
||||
<relation type="label-for" target="MTR_FLD_PERSPECTIVE:0%"/>
|
||||
</accessibility>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="top_attach">4</property>
|
||||
<property name="width">1</property>
|
||||
<property name="height">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
@ -106,12 +101,18 @@
|
||||
<property name="can_focus">False</property>
|
||||
<property name="invisible_char">•</property>
|
||||
<property name="adjustment">adjustmentPERSPECTIVE</property>
|
||||
<accessibility>
|
||||
<relation type="labelled-by" target="CBX_PERSPECTIVE"/>
|
||||
</accessibility>
|
||||
<child internal-child="accessible">
|
||||
<object class="AtkObject" id="MTR_FLD_PERSPECTIVE:0%-atkobject">
|
||||
<property name="AtkObject::accessible-name" translatable="yes">Perspective</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="top_attach">4</property>
|
||||
<property name="width">1</property>
|
||||
<property name="height">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
@ -126,8 +127,6 @@
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="top_attach">3</property>
|
||||
<property name="width">1</property>
|
||||
<property name="height">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
@ -140,8 +139,6 @@
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="top_attach">2</property>
|
||||
<property name="width">1</property>
|
||||
<property name="height">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
@ -154,8 +151,6 @@
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="top_attach">1</property>
|
||||
<property name="width">1</property>
|
||||
<property name="height">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
|
@ -1902,12 +1902,6 @@ SvxExtParagraphTabPage::SvxExtParagraphTabPage( vcl::Window* pParent, const SfxI
|
||||
get(m_pWidowRowNo,"spinWidow");
|
||||
get(m_pWidowRowLabel,"labelWidow");
|
||||
|
||||
m_pApplyCollBox->SetAccessibleRelationLabeledBy(m_pApplyCollBtn);
|
||||
m_pApplyCollBox->SetAccessibleName(CUI_RES(STR_PAGE_STYLE));
|
||||
|
||||
m_pOrphanRowNo->SetAccessibleRelationLabeledBy(m_pOrphanBox);
|
||||
m_pWidowRowNo->SetAccessibleRelationLabeledBy(m_pWidowBox);
|
||||
|
||||
// this page needs ExchangeSupport
|
||||
SetExchangeSupport();
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
// StandardTabPage ----------------------------------------------------------
|
||||
|
||||
#define STR_EXAMPLE 5010
|
||||
#define STR_PAGE_STYLE 5011
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -26,9 +26,5 @@ String STR_EXAMPLE
|
||||
{
|
||||
Text [ en-US ] = "Example" ;
|
||||
};
|
||||
String STR_PAGE_STYLE
|
||||
{
|
||||
Text [ en-US ] = "Page Style" ;
|
||||
};
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.18.3 -->
|
||||
<!-- Generated with glade 3.20.0 -->
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<object class="GtkAdjustment" id="adjustment1">
|
||||
@ -224,10 +224,10 @@
|
||||
<object class="GtkLabel" id="labelType">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">_Type:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">comboBreakType</property>
|
||||
<property name="xalign">0</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
@ -250,11 +250,11 @@
|
||||
<object class="GtkLabel" id="labelPageNum">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">1</property>
|
||||
<property name="label" translatable="yes">Page _number:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="justify">right</property>
|
||||
<property name="mnemonic_widget">spinPageNumber</property>
|
||||
<property name="xalign">1</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">3</property>
|
||||
@ -265,11 +265,11 @@
|
||||
<object class="GtkLabel" id="labelPosition">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">1</property>
|
||||
<property name="label" translatable="yes">Position:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="justify">right</property>
|
||||
<property name="mnemonic_widget">comboBreakPosition</property>
|
||||
<property name="xalign">1</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">3</property>
|
||||
@ -280,6 +280,14 @@
|
||||
<object class="GtkComboBox" id="comboPageStyle">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<accessibility>
|
||||
<relation type="labelled-by" target="checkPageStyle"/>
|
||||
</accessibility>
|
||||
<child internal-child="accessible">
|
||||
<object class="AtkObject" id="comboPageStyle-atkobject">
|
||||
<property name="AtkObject::accessible-name" translatable="yes">Page Style</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">2</property>
|
||||
@ -425,6 +433,9 @@
|
||||
<property name="can_focus">True</property>
|
||||
<property name="invisible_char">•</property>
|
||||
<property name="adjustment">adjustment1</property>
|
||||
<accessibility>
|
||||
<relation type="labelled-by" target="checkOrphan"/>
|
||||
</accessibility>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
@ -439,6 +450,9 @@
|
||||
<property name="adjustment">adjustment1</property>
|
||||
<property name="climb_rate">1</property>
|
||||
<property name="numeric">True</property>
|
||||
<accessibility>
|
||||
<relation type="labelled-by" target="checkWidow"/>
|
||||
</accessibility>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
@ -449,8 +463,8 @@
|
||||
<object class="GtkLabel" id="labelOrphan">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">lines</property>
|
||||
<property name="xalign">0</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">2</property>
|
||||
@ -461,8 +475,8 @@
|
||||
<object class="GtkLabel" id="labelWidow">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">lines</property>
|
||||
<property name="xalign">0</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">2</property>
|
||||
|
@ -335,7 +335,6 @@ namespace dbp
|
||||
|
||||
announceControls(*m_pDefSelYes, *m_pDefSelNo, *m_pDefSelection);
|
||||
m_pDefSelection->SetDropDownLineCount(10);
|
||||
m_pDefSelection->SetAccessibleRelationLabeledBy( m_pDefSelYes );
|
||||
m_pDefSelection->SetStyle(WB_DROPDOWN);
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.16.1 -->
|
||||
<!-- Generated with glade 3.20.0 -->
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<object class="GtkBox" id="DefaultFieldSelectionPage">
|
||||
@ -40,6 +40,9 @@
|
||||
<property name="xalign">0</property>
|
||||
<property name="active">True</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
<accessibility>
|
||||
<relation type="label-for" target="defselectionfield"/>
|
||||
</accessibility>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
@ -51,6 +54,9 @@
|
||||
<object class="GtkComboBoxText" id="defselectionfield">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<accessibility>
|
||||
<relation type="labelled-by" target="defaultselectionyes"/>
|
||||
</accessibility>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
@ -449,9 +449,6 @@ ScImportAsciiDlg::ScImportAsciiDlg( vcl::Window* pParent, const OUString& aDatNa
|
||||
|
||||
mpTableBox->Execute( CSVCMD_NEWCELLTEXTS );
|
||||
|
||||
pEdOther->SetAccessibleName(pCkbOther->GetText());
|
||||
pEdOther->SetAccessibleRelationLabeledBy(pCkbOther);
|
||||
|
||||
if (meCall == SC_TEXTTOCOLUMNS)
|
||||
{
|
||||
pFtCharSet->Disable();
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.18.3 -->
|
||||
<!-- Generated with glade 3.20.0 -->
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<requires lib="LibreOffice" version="1.0"/>
|
||||
@ -107,10 +107,10 @@
|
||||
<object class="GtkLabel" id="textcharset">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">Ch_aracter set:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">charset</property>
|
||||
<property name="xalign">0</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
@ -121,10 +121,10 @@
|
||||
<object class="GtkLabel" id="textlanguage">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">_Language:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">language</property>
|
||||
<property name="xalign">0</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
@ -135,10 +135,10 @@
|
||||
<object class="GtkLabel" id="textfromrow">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">From ro_w:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">fromrow</property>
|
||||
<property name="xalign">0</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
@ -398,6 +398,11 @@
|
||||
<accessibility>
|
||||
<relation type="labelled-by" target="other"/>
|
||||
</accessibility>
|
||||
<child internal-child="accessible">
|
||||
<object class="AtkObject" id="inputother-atkobject">
|
||||
<property name="AtkObject::accessible-name" translatable="yes">Other</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
@ -420,10 +425,10 @@
|
||||
<object class="GtkLabel" id="texttextdelimiter">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">Te_xt delimiter:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">textdelimiter</property>
|
||||
<property name="xalign">0</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
|
Loading…
x
Reference in New Issue
Block a user