[gnome-settings-daemon] color: Set a property on the internal laptop device for gnome-control-center



commit ee42ebba5be506240cb0d47b3906c01aab1815d1
Author: Richard Hughes <richard hughsie com>
Date:   Mon Jan 7 17:07:46 2013 +0000

    color: Set a property on the internal laptop device for gnome-control-center
    
    Use the 'Embedded' property rather than the 'ConnectionType' after colord
    upstream discussion.

 plugins/color/gsd-color-manager.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/color/gsd-color-manager.c b/plugins/color/gsd-color-manager.c
index 65c06dc..ac11071 100644
--- a/plugins/color/gsd-color-manager.c
+++ b/plugins/color/gsd-color-manager.c
@@ -1446,8 +1446,8 @@ gcm_session_add_x11_output (GsdColorManager *manager, GnomeRROutput *output)
          * control center main panel */
         if (gnome_rr_output_is_laptop (output)) {
                 g_hash_table_insert (device_props,
-                                     (gpointer) CD_DEVICE_METADATA_CONNECTION_TYPE,
-                                     (gpointer) CD_DEVICE_METADATA_CONNECTION_TYPE_INTERNAL);
+                                     (gpointer) CD_DEVICE_PROPERTY_EMBEDDED,
+                                     NULL);
         }
 #endif
         cd_client_create_device (priv->client,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]