From cf5c17b692c74df6be277ca1aae1d8c78650271c Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 1 Mar 2017 13:00:01 +0100 Subject: [PATCH] mouse: Add debug output for touchpad disable switch See https://bugzilla.gnome.org/show_bug.cgi?id=779290 --- panels/mouse/gnome-mouse-properties.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/panels/mouse/gnome-mouse-properties.c b/panels/mouse/gnome-mouse-properties.c index 126b762e9..95a74e418 100644 --- a/panels/mouse/gnome-mouse-properties.c +++ b/panels/mouse/gnome-mouse-properties.c @@ -167,6 +167,10 @@ show_touchpad_enabling_switch (CcMousePropertiesPrivate *d) if (!d->have_touchpad) return FALSE; + g_debug ("Should we show the touchpad disable switch: have_mouse: %s have_touchscreen: %s\n", + d->have_mouse ? "true" : "false", + d->have_touchscreen ? "true" : "false"); + /* Let's show the button when a mouse or touchscreen is present */ if (d->have_mouse || d->have_touchscreen) return TRUE;