Set the "editable" properties of the sheets to TRUE
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 14 Sep 2017 06:58:05 +0000 (08:58 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 14 Sep 2017 06:58:05 +0000 (08:58 +0200)
src/ui/gui/psppire-data-sheet.c
src/ui/gui/psppire-variable-sheet.c

index 86122d35f8df3984c601971a931ef9080cda1f5c..dc3cdfba63549a72d40bc1473c134841d2587b4b 100644 (file)
@@ -351,6 +351,7 @@ psppire_data_sheet_new (void)
     g_object_new (PSPPIRE_TYPE_DATA_SHEET,
                  "forward-conversion", psppire_data_store_value_to_string,
                  "reverse-conversion", myreversefunc,
+                 "editable", TRUE,
                  NULL);
 
   return GTK_WIDGET (obj);
index 2adef3f4d56d28ed021a8b4bc28170d2ca32b75b..e37d4353028ef9c5611690c1b582ddbbb7d9f2dc 100644 (file)
@@ -458,6 +458,7 @@ psppire_variable_sheet_new (void)
                  "select-renderer-func", select_renderer_func,
                  "hmodel", vsh,
                  "forward-conversion", var_sheet_data_to_string,
+                 "editable", TRUE,
                  NULL);
 
   return GTK_WIDGET (obj);