summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2017-03-01 13:00:01 +0100
committerBastien Nocera <hadess@hadess.net>2017-03-01 13:00:33 +0100
commitcf5c17b692c74df6be277ca1aae1d8c78650271c (patch)
treef09334e363415df47f56bb25aa90822aa530dd52
parent726dcfee91d76237ae75cb2fc8ce2fc3e4c884a7 (diff)
downloadgnome-control-center-cf5c17b692c74df6be277ca1aae1d8c78650271c.tar.gz
mouse: Add debug output for touchpad disable switch
See https://bugzilla.gnome.org/show_bug.cgi?id=779290
-rw-r--r--panels/mouse/gnome-mouse-properties.c4
1 files changed, 4 insertions, 0 deletions
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;