[gnome-control-center] mouse: Add debug output for touchpad disable switch



commit cf5c17b692c74df6be277ca1aae1d8c78650271c
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Mar 1 13:00:01 2017 +0100

    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 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/panels/mouse/gnome-mouse-properties.c b/panels/mouse/gnome-mouse-properties.c
index 126b762..95a74e4 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]