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

Caolán McNamara caolanm at redhat.com
Tue May 19 02:23:15 PDT 2015


 vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 2e3f48746ea887c5503a87830b7d68b9eca2f3cc
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue May 19 10:21:28 2015 +0100

    gtk3: presume we want the same no-op for LISTNET as gtk2
    
    Change-Id: Ic05f49d4e7d379c1d66c911e1d63f13680d2e293

diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
index fbcf294..be39e6f 100644
--- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
@@ -947,6 +947,7 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
             break;
         }
         break;
+    case CTRL_LISTNET:
     case CTRL_TAB_BODY:
         return true;
         break;
@@ -1758,7 +1759,7 @@ bool GtkSalGraphics::IsNativeControlSupported( ControlType nType, ControlPart nP
         case CTRL_CHECKBOX:
         case CTRL_PROGRESS:
 //        case CTRL_LISTNODE:
-//        case CTRL_LISTNET:
+        case CTRL_LISTNET:
             if (nPart==PART_ENTIRE_CONTROL || nPart == PART_FOCUS)
                 return true;
             break;


More information about the Libreoffice-commits mailing list