Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kleopatra
Commits
de481c9e
Commit
de481c9e
authored
Feb 22, 2022
by
Ingo Klöcker
Browse files
Add accessible name and description to certificate list
GnuPG-bug-id: 5841
parent
ac6db170
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/view/keytreeview.cpp
View file @
de481c9e
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment