mouse: Add debug output for touchpad disable switch
See https://bugzilla.gnome.org/show_bug.cgi?id=779290
This commit is contained in:
parent
726dcfee91
commit
cf5c17b692
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue