[gnome-settings-daemon] mouse: More debug tweaks
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] mouse: More debug tweaks
- Date: Mon, 5 Sep 2011 17:59:39 +0000 (UTC)
commit 5be745213a3043cfe32b9d96a118b7ebfbca0f19
Author: Bastien Nocera <hadess hadess net>
Date: Mon Sep 5 18:59:28 2011 +0100
mouse: More debug tweaks
plugins/mouse/gsd-mouse-manager.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/mouse/gsd-mouse-manager.c b/plugins/mouse/gsd-mouse-manager.c
index 8ec69bd..fa51f23 100644
--- a/plugins/mouse/gsd-mouse-manager.c
+++ b/plugins/mouse/gsd-mouse-manager.c
@@ -743,7 +743,7 @@ set_touchpad_enabled (GdkDevice *device,
g_object_get (G_OBJECT (device), "device-id", &id, NULL);
- g_debug ("Trying to set device enabled for %d", id);
+ g_debug ("Trying to set device %s for \"%s\" (%d)", (state) ? "enabled" : "disabled", gdk_device_get_name (device), id);
xdevice = open_gdk_device (device);
if (xdevice == NULL)
@@ -755,9 +755,9 @@ set_touchpad_enabled (GdkDevice *device,
}
if (set_device_enabled (id, state) == FALSE)
- g_warning ("Error %s device \"%s\"", (state) ? "enabling" : "disabling", gdk_device_get_name (device));
+ g_warning ("Error %s device \"%s\" (%d)", (state) ? "enabling" : "disabling", gdk_device_get_name (device), id);
else
- g_debug ("%s device \"%s\"", (state) ? "Enabled" : "Disabled", gdk_device_get_name (device));
+ g_debug ("%s device \"%s\" (%d)", (state) ? "Enabled" : "Disabled", gdk_device_get_name (device), id);
XCloseDevice (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), xdevice);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]