From d97c0f1ed2858c48173c023964cec8234b5bc831 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 16 Sep 2017 16:44:29 +0200 Subject: [PATCH] Disable drag and drop on sheet axes for which there is no connected signal --- src/ui/gui/psppire-data-sheet.c | 1 + src/ui/gui/psppire-variable-sheet.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/ui/gui/psppire-data-sheet.c b/src/ui/gui/psppire-data-sheet.c index dc3cdfba63..ac3a99e027 100644 --- a/src/ui/gui/psppire-data-sheet.c +++ b/src/ui/gui/psppire-data-sheet.c @@ -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); diff --git a/src/ui/gui/psppire-variable-sheet.c b/src/ui/gui/psppire-variable-sheet.c index e37d435302..355f359c64 100644 --- a/src/ui/gui/psppire-variable-sheet.c +++ b/src/ui/gui/psppire-variable-sheet.c @@ -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); -- 2.30.2