[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - sfx2/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Dec 16 08:46:15 UTC 2020
sfx2/source/sidebar/TabBar.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 53d40fb451e0cb477cdb80091a19e61220814a1d
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Dec 15 14:33:32 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Dec 16 09:45:37 2020 +0100
tdf#138938 put the tooltip on the toolbar item instead of the toolbar
Change-Id: I69ff3813a726f26daa20a00ce3a0bb311a162c39
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107703
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx
index fdbf3cb01b15..8164c3e34884 100644
--- a/sfx2/source/sidebar/TabBar.cxx
+++ b/sfx2/source/sidebar/TabBar.cxx
@@ -223,6 +223,7 @@ void TabBar::CreateTabItem(weld::Toolbar& rItem, const DeckDescriptor& rDeckDesc
rItem.set_accessible_name(rDeckDescriptor.msTitle);
rItem.set_accessible_description(rDeckDescriptor.msHelpText);
rItem.set_tooltip_text(rDeckDescriptor.msHelpText);
+ rItem.set_item_tooltip_text("toggle", rDeckDescriptor.msHelpText);
}
css::uno::Reference<css::graphic::XGraphic> TabBar::GetItemImage(const DeckDescriptor& rDeckDescriptor) const
More information about the Libreoffice-commits
mailing list