[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 9 18:35:17 UTC 2020


 vcl/unx/gtk3/gtk3gtkinst.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 9a400496a4f510a1a54bfe131d864647efd38c20
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Apr 9 17:13:57 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Apr 9 20:34:41 2020 +0200

    don't animate the placeholder popover
    
    Change-Id: I483db377b10df0a8ced20901fde5286576ef6986
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91988
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 69904fe34b17..88d751bdf7a0 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -7304,7 +7304,9 @@ public:
 
         if (m_pMenuHack)
         {
-            gtk_menu_button_set_popover(m_pMenuButton, gtk_popover_new(GTK_WIDGET(m_pMenuButton)));
+            GtkWidget* pPlaceHolder = gtk_popover_new(GTK_WIDGET(m_pMenuButton));
+            gtk_popover_set_transitions_enabled(GTK_POPOVER(pPlaceHolder), false);
+            gtk_menu_button_set_popover(m_pMenuButton, pPlaceHolder);
         }
         else
         {


More information about the Libreoffice-commits mailing list