diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2016-06-08 14:43:53 +0300 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-06-15 20:26:35 +0000 |
commit | a00757e75b7d55239f97c1ca9e50c68252ff227f (patch) | |
tree | e146a209905b532ded1521a9c52d766a0b03329e /formula | |
parent | bdfccfde308f0267965933a8273e6e9201a2c67c (diff) |
Move accessibility relations to .ui files, Part 9: tdf#87026
By removing unnecessary variables/strings/function calls,
and making proper changes in the related .ui files.
Change-Id: I52e3f2a16519aee13b06f0efc6beb3385bcb0f1c
Reviewed-on: https://gerrit.libreoffice.org/26066
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/ui/dlg/formula.cxx | 1 | ||||
-rw-r--r-- | formula/uiconfig/ui/formuladialog.ui | 15 |
2 files changed, 10 insertions, 6 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index cedd2f3fda52..b0925fbe4d32 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -295,7 +295,6 @@ FormulaDlg_Impl::FormulaDlg_Impl(Dialog* pParent pMEdit = m_pMEFormula->GetEdit(); - m_pMEFormula->SetAccessibleName(m_pFtFormula->GetText()); pMEdit->SetAccessibleName(m_pFtFormula->GetText()); m_aEditHelpId = pMEdit->GetHelpId(); diff --git a/formula/uiconfig/ui/formuladialog.ui b/formula/uiconfig/ui/formuladialog.ui index 0b7137b97c0b..613272bc13ce 100644 --- a/formula/uiconfig/ui/formuladialog.ui +++ b/formula/uiconfig/ui/formuladialog.ui @@ -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"/> @@ -281,9 +281,9 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> + <property name="wrap">True</property> <property name="xalign">0</property> <property name="yalign">0</property> - <property name="wrap">True</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -298,9 +298,9 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> + <property name="wrap">True</property> <property name="xalign">0</property> <property name="yalign">0</property> - <property name="wrap">True</property> </object> <packing> <property name="left_attach">0</property> @@ -313,9 +313,9 @@ <property name="can_focus">False</property> <property name="halign">start</property> <property name="vexpand">True</property> + <property name="wrap">True</property> <property name="xalign">0</property> <property name="yalign">0</property> - <property name="wrap">True</property> </object> <packing> <property name="left_attach">0</property> @@ -341,10 +341,10 @@ <property name="can_focus">False</property> <property name="halign">start</property> <property name="hexpand">True</property> - <property name="yalign">1</property> <property name="label" translatable="yes">For_mula</property> <property name="use_underline">True</property> <property name="mnemonic_widget">ed_formula</property> + <property name="yalign">1</property> </object> <packing> <property name="left_attach">0</property> @@ -389,6 +389,11 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="hexpand">True</property> + <child internal-child="accessible"> + <object class="AtkObject" id="ed_formula-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes">Formula</property> + </object> + </child> </object> <packing> <property name="expand">False</property> |