Change the align, role and measure columns on the appropriate signal
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 19 Mar 2016 17:22:25 +0000 (18:22 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 19 Mar 2016 17:22:25 +0000 (18:22 +0100)
src/ui/gui/psppire-data-editor.c

index 5dccc849fc29d2247e8b7c4736214f9518c5a999..b643acf0462a6ee59d29cd16c67f8c3e05ecfc1c 100644 (file)
@@ -232,6 +232,15 @@ change_var_property (PsppireDict *dict, gint col, gint row, GValue *value)
     case DICT_TVM_COL_COLUMNS:
       var_set_display_width (var, g_value_get_int (value));
       break;
+    case DICT_TVM_COL_MEASURE:
+      var_set_measure (var, g_value_get_enum (value));
+      break;
+    case DICT_TVM_COL_ALIGNMENT:
+      var_set_alignment (var, g_value_get_enum (value));
+      break;
+    case DICT_TVM_COL_ROLE:
+      var_set_role (var, g_value_get_enum (value));
+      break;
     default:
       g_message ("Changing col %d of var sheet not yet supported", col);
       break;