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

Caolán McNamara caolanm at redhat.com
Mon May 9 10:02:05 UTC 2016


 vcl/inc/unx/gtk/gtksalmenu.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8c38b2925546b537bc5eba8a0449041fef3e338a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun May 8 17:44:41 2016 +0100

    gtk3: always update on UpdateFull
    
    e.g. templates menubutton button which isn't torn down and recreated each time,
    but hidden/shown
    
    Change-Id: Ib80e0dc0ca5abfb5efa2966283034b7ba1840978

diff --git a/vcl/inc/unx/gtk/gtksalmenu.hxx b/vcl/inc/unx/gtk/gtksalmenu.hxx
index 11ed51f..966b7f8 100644
--- a/vcl/inc/unx/gtk/gtksalmenu.hxx
+++ b/vcl/inc/unx/gtk/gtksalmenu.hxx
@@ -109,7 +109,7 @@ public:
     bool                        PrepUpdate();
     virtual void                Update() override;  // Update this menu only.
     // Update full menu hierarchy from this menu.
-    void                        UpdateFull () { if (mbNeedsUpdate) ActivateAllSubmenus(mpVCLMenu); }
+    void                        UpdateFull () { ActivateAllSubmenus(mpVCLMenu); }
     GtkSalMenu*                 GetTopLevel();
     void                        SetNeedsUpdate();
 


More information about the Libreoffice-commits mailing list