From: John Darrington Date: Sat, 16 Sep 2017 14:44:29 +0000 (+0200) Subject: Disable drag and drop on sheet axes for which there is no connected signal X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=d97c0f1ed2858c48173c023964cec8234b5bc831 Disable drag and drop on sheet axes for which there is no connected signal --- 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);