[gnome-color-manager] Actually show the correct CIE widget in the import dialog



commit 79539888d8151eec3fd89b94ac30486368f209b2
Author: Richard Hughes <richard hughsie com>
Date:   Fri Dec 4 18:24:16 2009 +0000

    Actually show the correct CIE widget in the import dialog

 src/gcm-import.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-import.c b/src/gcm-import.c
index 6cdc1ef..3ec9c2e 100644
--- a/src/gcm-import.c
+++ b/src/gcm-import.c
@@ -118,6 +118,12 @@ main (int argc, char **argv)
 	/* use CIE widget */
 	cie_widget = gcm_cie_widget_new ();
 	gtk_widget_set_size_request (cie_widget, 200, 200);
+	g_object_set (cie_widget,
+		      "white", white,
+		      "red", red,
+		      "green", green,
+		      "blue", blue,
+		      NULL);
 
 	/* check file does't already exist */
 	destination = gcm_utils_get_profile_destination (files[0]);



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