[gimp/gtk3-port: 133/155] 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/155] app: skip keyboard devices so the device list becomes reasonable
- Date: Sat, 18 Dec 2010 22:48:30 +0000 (UTC)
commit 1b8493b09ab141873d57cfe2845d81b2f29e6c34
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 964b673..ab40ff2 100644
--- a/app/widgets/gimpdevices.c
+++ b/app/widgets/gimpdevices.c
@@ -501,6 +501,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]