diff src/paranormal/cfg.c @ 168:e094aa00fdee trunk

[svn] - support lookup of actuator templates by their display name - use displayed names in the "new actuator" popup menu.
author nenolod
date Tue, 31 Oct 2006 22:42:55 -0800
parents f52e866d7d8e
children 89e1003e5e84
line wrap: on
line diff
--- a/src/paranormal/cfg.c	Tue Oct 31 22:20:56 2006 -0800
+++ b/src/paranormal/cfg.c	Tue Oct 31 22:42:55 2006 -0800
@@ -522,7 +522,7 @@
       for (i=0; builtin_table[i]; i++)
 	{
 	  /* FIXME: Add actuator group support */
-	  menuitem = gtk_menu_item_new_with_label (builtin_table[i]->name);
+	  menuitem = gtk_menu_item_new_with_label (builtin_table[i]->dispname);
 	  gtk_widget_show (menuitem);
 	  gtk_menu_append (GTK_MENU (menu), menuitem);
 	}