patches/gnome-device-manager-02-subsystem.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 780 705419a0cfc8
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
780
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
     1
--- gnome-device-manager/gdm-info-provider-usb.c.org	2008-01-10 15:35:19.718187000 +0800
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
     2
+++ gnome-device-manager/gdm-info-provider-usb.c	2008-01-10 15:44:37.112749000 +0800
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
     3
@@ -237,7 +237,7 @@
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
     4
 {
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
     5
         const char *subsys;
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
     6
 
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
     7
-        subsys = gdm_device_get_property_string (device, "info.subsystem");
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
     8
+        subsys = gdm_device_get_property_string (device, "info.bus");
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
     9
         if (subsys != NULL && g_ascii_strcasecmp (subsys, "usb_device") == 0)
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    10
                 return TRUE;
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    11
 
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    12
@@ -450,7 +450,7 @@
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    13
 {
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    14
         const char *subsys;
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    15
 
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    16
-        subsys = gdm_device_get_property_string (device, "info.subsystem");
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    17
+        subsys = gdm_device_get_property_string (device, "info.bus");
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    18
         if (subsys != NULL && g_ascii_strcasecmp (subsys, "usb") == 0)
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    19
                 return TRUE;
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    20
 
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    21
--- gnome-device-manager/gdm-info-provider-pci.c.org	2008-01-10 15:34:37.885821000 +0800
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    22
+++ gnome-device-manager/gdm-info-provider-pci.c	2008-01-10 15:35:01.385422000 +0800
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    23
@@ -220,7 +220,7 @@
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    24
 {
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    25
         const char *subsys;
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    26
 
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    27
-        subsys = gdm_device_get_property_string (device, "info.subsystem");
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    28
+        subsys = gdm_device_get_property_string (device, "info.bus");
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    29
         if (subsys != NULL && g_ascii_strcasecmp (subsys, "pci") == 0)
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    30
                 return TRUE;
705419a0cfc8 2008-01-10 simon.zheng <[email protected]>
simonzheng
parents:
diff changeset
    31