diff options
| author | Felix Ernst <[email protected]> | 2023-12-02 16:18:42 +0100 |
|---|---|---|
| committer | Felix Ernst <[email protected]> | 2024-01-12 17:24:23 +0000 |
| commit | 83988f5e5bdea84b133fea50f34b807a94ce0732 (patch) | |
| tree | 25a0d918edfb2a7da422a326c41c336d79e2e1e5 | |
| parent | d4d6f88344a51626a4548a72512ff24abaf4a856 (diff) | |
Explain free space button usage in tooltip
This is to make sure that users do not have to guess why they would
want to press the button.
| -rw-r--r-- | src/statusbar/statusbarspaceinfo.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/statusbar/statusbarspaceinfo.cpp b/src/statusbar/statusbarspaceinfo.cpp index 5ef5144e5..253d912c0 100644 --- a/src/statusbar/statusbarspaceinfo.cpp +++ b/src/statusbar/statusbarspaceinfo.cpp @@ -184,7 +184,11 @@ void StatusBarSpaceInfo::slotValuesChanged() m_textInfoButton->setText(i18nc("@info:status Free disk space", "%1 free", KIO::convertSize(available))); setToolTip(i18nc("tooltip:status Free disk space", "%1 free out of %2 (%3% used)", KIO::convertSize(available), KIO::convertSize(size), percentUsed)); - m_textInfoButton->setToolTip(toolTip()); + m_textInfoButton->setToolTip(i18nc("@info:tooltip for the free disk space button", + "%1 free out of %2 (%3% used)\nPress to manage disk space usage.", + KIO::convertSize(available), + KIO::convertSize(size), + percentUsed)); setUpdatesEnabled(false); m_capacityBar->setValue(percentUsed); setUpdatesEnabled(true); |
