Disable drag and drop on sheet axes for which there is no connected signal
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 16 Sep 2017 14:44:29 +0000 (16:44 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 16 Sep 2017 14:44:29 +0000 (16:44 +0200)
src/ui/gui/psppire-data-sheet.c
src/ui/gui/psppire-variable-sheet.c

index dc3cdfba63549a72d40bc1473c134841d2587b4b..ac3a99e027cccdcd719c6f135efd904dc20f9741 100644 (file)
@@ -352,6 +352,7 @@ psppire_data_sheet_new (void)
                  "forward-conversion", psppire_data_store_value_to_string,
                  "reverse-conversion", myreversefunc,
                  "editable", TRUE,
+                 "horizontal-draggable", TRUE,
                  NULL);
 
   return GTK_WIDGET (obj);
index e37d4353028ef9c5611690c1b582ddbbb7d9f2dc..355f359c64b1cc54ce988a1d313394b17a21381e 100644 (file)
@@ -459,6 +459,7 @@ psppire_variable_sheet_new (void)
                  "hmodel", vsh,
                  "forward-conversion", var_sheet_data_to_string,
                  "editable", TRUE,
+                 "vertical-draggable", TRUE,
                  NULL);
 
   return GTK_WIDGET (obj);