[gimp/gtk3-port: 133/170] app: skip keyboard devices so the device list becomes reasonable
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 133/170] app: skip keyboard devices so the device list becomes reasonable
- Date: Mon, 20 Dec 2010 22:31:29 +0000 (UTC)
commit b08b30f0ddb37c78a27e8172ee8a48a09f49801d
Author: Michael Natterer <mitch gimp org>
Date: Mon Nov 22 11:13:53 2010 +0100
app: skip keyboard devices so the device list becomes reasonable
app/widgets/gimpdevices.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpdevices.c b/app/widgets/gimpdevices.c
index 8e1c8c4..34257fd 100644
--- a/app/widgets/gimpdevices.c
+++ b/app/widgets/gimpdevices.c
@@ -516,6 +516,9 @@ gimp_devices_device_added (GdkDeviceManager *gdk_manager,
GdkDisplay *display = gdk_device_manager_get_display (gdk_manager);
GimpDeviceInfo *device_info;
+ if (gdk_device_get_source (device) == GDK_SOURCE_KEYBOARD)
+ return;
+
device_info =
GIMP_DEVICE_INFO (gimp_container_get_child_by_name (manager->device_info_list,
device->name));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]