diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-01-21 14:19:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-01-21 17:03:23 +0100 |
commit | 58daee3693e6881e1412715db195009c9ab39f46 (patch) | |
tree | e739cdb6ad2eb551fbe981da7c54880bcfa198ce | |
parent | 496ab9284185745a4ae43ec28561d69bf003d72a (diff) |
gtk4: GtkPopover::modal has been renamed to autohide
Change-Id: I0ccfbc1284ef85ea276979d3133f30628517200a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128734
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | vcl/unx/gtk4/convert3to4.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/unx/gtk4/convert3to4.cxx b/vcl/unx/gtk4/convert3to4.cxx index f975196062b7..ec362aea71b5 100644 --- a/vcl/unx/gtk4/convert3to4.cxx +++ b/vcl/unx/gtk4/convert3to4.cxx @@ -451,6 +451,13 @@ ConvertResult Convert3To4(const css::uno::Reference<css::xml::dom::XNode>& xNode xPropertyLabel = xChild; } + if (sName == "modal") + { + OUString sParentClass = GetParentObjectType(xChild); + if (sParentClass == "GtkPopover") + xName->setNodeValue("autohide"); + } + if (sName == "visible") bHasVisible = true; |