changeset 156:f52e866d7d8e trunk

[svn] - use user-friendly names in most places
author nenolod
date Tue, 31 Oct 2006 12:35:04 -0800
parents adf9f4b26039
children 34b6f9d5633a
files ChangeLog src/paranormal/cfg.c
diffstat 2 files changed, 17 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Oct 31 12:07:32 2006 -0800
+++ b/ChangeLog	Tue Oct 31 12:35:04 2006 -0800
@@ -1,3 +1,17 @@
+2006-10-31 20:07:32 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [310]
+  - user-friendly names (UI side unimplemented still)
+  
+  trunk/src/paranormal/actuators.h  |    3 ++-
+  trunk/src/paranormal/cmaps.c      |    2 ++
+  trunk/src/paranormal/containers.c |    3 +++
+  trunk/src/paranormal/freq.c       |    2 ++
+  trunk/src/paranormal/general.c    |    4 ++--
+  trunk/src/paranormal/wave.c       |   15 ++++++++++-----
+  trunk/src/paranormal/xform.c      |    8 +++++---
+  7 files changed, 26 insertions(+), 11 deletions(-)
+
+
 2006-10-31 09:29:30 +0000  William Pitcock <nenolod@nenolod.net>
   revision [308]
   - a more complicated paranormal example preset
--- a/src/paranormal/cfg.c	Tue Oct 31 12:07:32 2006 -0800
+++ b/src/paranormal/cfg.c	Tue Oct 31 12:35:04 2006 -0800
@@ -43,7 +43,7 @@
   g_assert (actuator_option_table);
 
   node = gtk_ctree_insert_node (GTK_CTREE (actuator_tree), parent,
-				NULL, (gchar**)&a->desc->name, 0,
+				NULL, (gchar**)&a->desc->dispname, 0,
 				NULL, NULL, NULL, NULL,
 				a->desc->flags & ACTUATOR_FLAG_CONTAINER
 				? FALSE : TRUE,
@@ -117,7 +117,7 @@
   gtk_table_resize (GTK_TABLE (actuator_option_table), opt_count, 2);
 
   /* Actuator name */
-  gtk_frame_set_label (GTK_FRAME (option_frame), a->desc->name);
+  gtk_frame_set_label (GTK_FRAME (option_frame), a->desc->dispname);
 
   /* Actuator description */
   w = gtk_label_new (a->desc->doc);
@@ -274,7 +274,7 @@
   struct pn_actuator *a;
   
   gtk_label_get (GTK_LABEL (GTK_BIN (actuator_add_opmenu)->child),
-		 &actuator_name);
+                &actuator_name);
 
   a = create_actuator (actuator_name);
   g_assert (a);