Commit de481c9e authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Add accessible name and description to certificate list

GnuPG-bug-id: 5841
parent ac6db170
......@@ -253,6 +253,8 @@ void KeyTreeView::init()
//m_view->setAlternatingRowColors( true );
m_view->setAllColumnsShowFocus(true);
m_view->setSortingEnabled(true);
m_view->setAccessibleName(i18n("Certificates"));
m_view->setAccessibleDescription(m_isHierarchical ? i18n("Hierarchical list of certificates") : i18n("List of certificates"));
if (model()) {
if (m_additionalProxy) {
......@@ -589,6 +591,7 @@ void KeyTreeView::setHierarchicalView(bool on)
m_view->scrollTo(currentIndex);
}
}
m_view->setAccessibleDescription(m_isHierarchical ? i18n("Hierarchical list of certificates") : i18n("List of certificates"));
Q_EMIT hierarchicalChanged(on);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment