[gnome-color-manager] Do not show the display as 'default' even when	using the binary blob
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-color-manager] Do not show the display as 'default' even when	using the binary blob
- Date: Fri, 19 Feb 2010 09:18:21 +0000 (UTC)
commit 4a7301c8baf245f25e829135b620e21951bff2f1
Author: Richard Hughes <richard hughsie com>
Date:   Fri Feb 19 09:05:35 2010 +0000
    Do not show the display as 'default' even when using the binary blob
 src/gcm-device-xrandr.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-device-xrandr.c b/src/gcm-device-xrandr.c
index 4c40ba7..2efa6e7 100644
--- a/src/gcm-device-xrandr.c
+++ b/src/gcm-device-xrandr.c
@@ -121,6 +121,10 @@ gcm_device_xrandr_get_output_name (GcmDeviceXrandr *device_xrandr, GnomeRROutput
 	else
 		g_string_append (string, output_name);
 
+	/* don't show 'default' even if the nvidia binary blog is craptastic */
+	if (g_strcmp0 (string->str, "default") == 0)
+		g_string_assign (string, "Unknown Monitor");
+
 out:
 	/* find the best option */
 	g_object_get (priv->edid,
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]