summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2016-06-20 15:36:23 +0300
committerCaolán McNamara <caolanm@redhat.com>2016-06-27 20:24:28 +0000
commit0ea96b1a2f5cf523af451b41915bbafd81a95a2c (patch)
tree59236a77c50d41ff6499456269581a9e82801008 /fpicker
parent2d6a88135ef107e5927c7a6cd2542ad1bc8bbe09 (diff)
Move accessibility relations to .ui files, Part 11: tdf#87026
By removing unnecessary variables/strings/function calls, and making proper changes in the related .ui files. As of this commit, all accessible relations of type "SetAccessibleName" have been moved to .ui files other than a few exceptions. Change-Id: I5972211f58de70889066dec3c74341b405f82c85 Reviewed-on: https://gerrit.libreoffice.org/26520 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/iodlg.cxx2
-rw-r--r--fpicker/uiconfig/ui/explorerfiledialog.ui12
2 files changed, 11 insertions, 3 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index fc9663fe0c18..fa15ec91bfac 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -595,10 +595,8 @@ void SvtFileDialog::Init_Impl
bool bSaveMode = ( FILEDLG_MODE_SAVE == _pImp->_eMode );
_pImp->_pEdFileName->SetNoURLSelection( bSaveMode );
- _pImp->_pBtnConnectToServer->SetAccessibleName( _pImp->_pBtnConnectToServer->GetQuickHelpText() );
_pImp->_pBtnNewFolder->SetStyle( _pImp->_pBtnNewFolder->GetStyle() | WB_NOPOINTERFOCUS );
_pImp->_pBtnUp->SetAccessibleName( _pImp->_pBtnUp->GetQuickHelpText() );
- _pImp->_pBtnNewFolder->SetAccessibleName( _pImp->_pBtnNewFolder->GetQuickHelpText() );
if ( nStyle & PickerFlags::MultiSelection )
_pImp->_bMultiSelection = true;
diff --git a/fpicker/uiconfig/ui/explorerfiledialog.ui b/fpicker/uiconfig/ui/explorerfiledialog.ui
index dad5ff0a259c..3de6a6da14dc 100644
--- a/fpicker/uiconfig/ui/explorerfiledialog.ui
+++ b/fpicker/uiconfig/ui/explorerfiledialog.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"/>
@@ -77,6 +77,11 @@
<property name="has_tooltip">True</property>
<property name="tooltip_markup" translatable="yes">Connect To Server</property>
<property name="tooltip_text" translatable="yes">Connect To Server</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="connect_to_server-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes">Connect To Server</property>
+ </object>
+ </child>
</object>
<packing>
<property name="expand">False</property>
@@ -108,6 +113,11 @@
<property name="has_tooltip">True</property>
<property name="tooltip_markup" translatable="yes">Create New Folder</property>
<property name="tooltip_text" translatable="yes">Create New Folder</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="new_folder-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes">Create New Folder</property>
+ </object>
+ </child>
</object>
<packing>
<property name="expand">False</property>