Commit a9b92ba2 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

don't limit the store to "input.mouse", list all input devices.

2007-02-11  Sven Neumann  <sven@gimp.org>

	* modules/gimpinputdevicestore.c: don't limit the store to
	"input.mouse", list all input devices.


svn path=/trunk/; revision=21892
parent 899346d1
2007-02-11 Sven Neumann <sven@gimp.org>
* modules/gimpinputdevicestore.c: don't limit the store to
"input.mouse", list all input devices.
2007-02-11 Sven Neumann <sven@gimp.org>
 
* configure.in: check for libhal if Linux Input support is enabled.
......@@ -110,7 +110,7 @@ gimp_input_device_store_init (GimpInputDeviceStore *store)
char **devices;
int i, num_devices;
devices = libhal_find_device_by_capability (store->context, "input.mouse",
devices = libhal_find_device_by_capability (store->context, "input",
&num_devices, NULL);
for (i = 0; i < num_devices; i++)
......@@ -187,7 +187,7 @@ gimp_input_device_store_add (GimpInputDeviceStore *store,
{
char *str;
if (strcmp (caps[i], "input.mouse"))
if (strcmp (caps[i], "input"))
continue;
str = libhal_device_get_property_string (store->context,
......@@ -260,7 +260,7 @@ gimp_input_device_store_get_device_file (GimpInputDeviceStore *store,
if (gimp_input_device_store_lookup (store, &iter, udi))
{
char *str = libhal_device_get_property_string (store->context,
udi, "linux.device_file",
udi, "input.device",
NULL);
if (str)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment