[gnome-settings-daemon/gnome-3-6] color: Set a property on the internal laptop device for gnome-control-center
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/gnome-3-6] color: Set a property on the internal laptop device for gnome-control-center
- Date: Mon, 7 Jan 2013 17:06:42 +0000 (UTC)
commit daa1fdb231baef2c08884a93028c1a654f37cfd9
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 3d48a57..22d5c0d 100644
--- a/plugins/color/gsd-color-manager.c
+++ b/plugins/color/gsd-color-manager.c
@@ -1445,8 +1445,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]