# HG changeset patch # User nenolod # Date 1162326904 28800 # Node ID f52e866d7d8e80c276c5212e66c2ebf823185edc # Parent adf9f4b26039330d0ed6d9ff1ba8e67305bee6de [svn] - use user-friendly names in most places diff -r adf9f4b26039 -r f52e866d7d8e ChangeLog --- 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 + 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 revision [308] - a more complicated paranormal example preset diff -r adf9f4b26039 -r f52e866d7d8e src/paranormal/cfg.c --- 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);