Index: testgtk.c
===================================================================
RCS file: /cvs/gnome/gtk+/tests/testgtk.c,v
retrieving revision 1.321
diff -u -p -u -r1.321 testgtk.c
@@ -3597,9 +3597,13 @@ static GtkItemFactoryEntry menu_items[] 
 
   { "/_Preferences",     		NULL, 0,               0, "<Branch>" },
   { "/_Preferences/_Color", 		NULL, 0,               0, "<Branch>" },
-  { "/_Preferences/Color/_Red",      	NULL, gtk_ifactory_cb, 0, "<RadioItem>" },
-  { "/_Preferences/Color/_Green",   	NULL, gtk_ifactory_cb, 0, "/Preferences/Color/Red" },
-  { "/_Preferences/Color/_Blue",        NULL, gtk_ifactory_cb, 0, "/Preferences/Color/Red" },
+  { "/_Preferences/Color/_Red",      	NULL, gtk_ifactory_cb, 0, "<CheckItem>" },
+  { "/_Preferences/Color/_Green",   	NULL, gtk_ifactory_cb, 0, NULL },
+  { "/_Preferences/Color/_Blue",        NULL, gtk_ifactory_cb, 0, NULL },
+  { "/_Preferences/Color/_Cyan",      	NULL, gtk_ifactory_cb, 0, "<CheckItem>" },
+  { "/_Preferences/Color/_Magenta",   	NULL, gtk_ifactory_cb, 0, "<CheckItem>" },
+  { "/_Preferences/Color/_Yellow",      NULL, gtk_ifactory_cb, 0, "<CheckItem>" },
+  { "/_Preferences/Color/Blac_k",       NULL, gtk_ifactory_cb, 0, "<CheckItem>" },
   { "/_Preferences/_Shape", 		NULL, 0,               0, "<Branch>" },
   { "/_Preferences/Shape/_Square",      NULL, gtk_ifactory_cb, 0, "<RadioItem>" },
   { "/_Preferences/Shape/_Rectangle",   NULL, gtk_ifactory_cb, 0, "/Preferences/Shape/Square" },
@@ -3666,6 +3670,22 @@ create_item_factory (GtkWidget *widget)
 										      "/Preferences/Shape/Oval")),
 				      TRUE);
 
+      /* Preselect /Preferences/Color/Red
+       */
+      gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (gtk_item_factory_get_item (item_factory,
+										      "/Preferences/Color/Red")),
+				      TRUE);
+
+      /* Preselect /Preferences/Color/Magenta and set it insensitive
+       */
+      gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (gtk_item_factory_get_item (item_factory,
+										      "/Preferences/Color/Magenta")),
+				      TRUE);
+      gtk_widget_set_sensitive (GTK_WIDGET (gtk_item_factory_get_item (item_factory,
+									 "/Preferences/Color/Magenta")),
+				  FALSE);
+
+
       /* Test how tooltips (ugh) work on menu items
        */
       tooltips = gtk_tooltips_new ();
