summaryrefslogtreecommitdiff
path: root/solenv/sanitizers
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-10-17 09:07:47 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-10-17 11:45:49 +0200
commit1a94cd8257ef4c462eaaa6d49bf4f26c9ac56a5e (patch)
treeb31a01f86aa0689f60c0d8ec8812cb2df40e5a94 /solenv/sanitizers
parentc308ed9fc6c2a223a51fd585e6e0a7d7f6c83352 (diff)
sw content controls: add rendering for the alias
- add a new SwFrameMenuButtonBase subclass to show the title/alias of the content control under the cursor, if it's non-empty - hide it when leaving the content control - set its label to the alias from SwContentControl - set the position similar to footer frame menu buttons, at the first text portion of the content control - make the label clickable and bind the handler to the content control properties dialog Change-Id: Ia35f0cc59c70910fb88719b207ef9e498d6760d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141441 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'solenv/sanitizers')
-rw-r--r--solenv/sanitizers/ui/modules/swriter.suppr1
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/sanitizers/ui/modules/swriter.suppr b/solenv/sanitizers/ui/modules/swriter.suppr
index c7ae2f09a613..b27911bd11e0 100644
--- a/solenv/sanitizers/ui/modules/swriter.suppr
+++ b/solenv/sanitizers/ui/modules/swriter.suppr
@@ -176,6 +176,7 @@ sw/uiconfig/swriter/ui/tokenwidget.ui://GtkButton[@id='right'] button-no-label
sw/uiconfig/swriter/ui/toxbuttonwidget.ui://GtkToggleButton[@id='button'] button-no-label
sw/uiconfig/swriter/ui/toxentrywidget.ui://GtkEntry[@id='entry'] no-labelled-by
sw/uiconfig/swriter/ui/unfloatbutton.ui://GtkButton[@id='button'] button-no-label
+sw/uiconfig/swriter/ui/contentcontrolaliasbutton.ui://GtkButton[@id='button'] button-no-label
sw/uiconfig/swriter/ui/watermarkdialog.ui://GtkLabel[@id='TextLabel'] orphan-label
sw/uiconfig/swriter/ui/watermarkdialog.ui://GtkLabel[@id='FontLabel'] orphan-label
sw/uiconfig/swriter/ui/watermarkdialog.ui://GtkLabel[@id='AngleLabel'] orphan-label