From dca2c29703057e9b77302cd6241d0c36a0d3a63f Mon Sep 17 00:00:00 2001 From: Friedrich Beckmann Date: Fri, 26 Jun 2020 08:15:52 +0200 Subject: [PATCH] help: added help page info to variable sheet dialogs --- src/ui/gui/missing-val-dialog.c | 5 ++++- src/ui/gui/val-labs-dialog.c | 5 ++++- src/ui/gui/var-type-dialog.c | 4 +++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/ui/gui/missing-val-dialog.c b/src/ui/gui/missing-val-dialog.c index 8d9fda759b..09e17c1aaf 100644 --- a/src/ui/gui/missing-val-dialog.c +++ b/src/ui/gui/missing-val-dialog.c @@ -1,5 +1,6 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2005, 2006, 2009, 2011, 2012, 2015, 2016 Free Software Foundation + Copyright (C) 2005, 2006, 2009, 2011, 2012, 2015, 2016, + 2020 Free Software Foundation This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -374,6 +375,8 @@ psppire_missing_val_dialog_constructor (GType type, type, n_properties, properties); dialog = PSPPIRE_MISSING_VAL_DIALOG (obj); + g_object_set (dialog, "help_page", "Missing-Observations", NULL); + content_area = GTK_CONTAINER (PSPPIRE_DIALOG (dialog)); xml = builder_new ("missing-val-dialog.ui"); gtk_container_add (GTK_CONTAINER (content_area), diff --git a/src/ui/gui/val-labs-dialog.c b/src/ui/gui/val-labs-dialog.c index d1649e900b..4dce3dae0c 100644 --- a/src/ui/gui/val-labs-dialog.c +++ b/src/ui/gui/val-labs-dialog.c @@ -1,5 +1,6 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2005, 2009, 2010, 2011, 2012, 2015, 2016 Free Software Foundation + Copyright (C) 2005, 2009, 2010, 2011, 2012, 2015, 2016, + 2020 Free Software Foundation This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -474,6 +475,8 @@ psppire_val_labs_dialog_constructor (GType type, type, n_properties, properties); dialog = PSPPIRE_VAL_LABS_DIALOG (obj); + g_object_set (dialog, "help_page", "VALUE-LABELS", NULL); + content_area = GTK_CONTAINER (PSPPIRE_DIALOG (dialog)); gtk_container_add (GTK_CONTAINER (content_area), get_widget_assert (xml, "val-labs-dialog")); diff --git a/src/ui/gui/var-type-dialog.c b/src/ui/gui/var-type-dialog.c index 66eb0827f5..5d17b2722d 100644 --- a/src/ui/gui/var-type-dialog.c +++ b/src/ui/gui/var-type-dialog.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2005, 2006, 2010, 2011, 2012, 2015 Free Software Foundation + Copyright (C) 2005, 2006, 2010, 2011, 2012, 2015, 2020 Free Software Foundation This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -533,6 +533,8 @@ psppire_var_type_dialog_constructor (GType type, type, n_properties, properties); dialog = PSPPIRE_VAR_TYPE_DIALOG (obj); + g_object_set (dialog, "help_page", "Input-and-Output-Formats", NULL); + xml = builder_new ("var-type-dialog.ui"); content_area = GTK_CONTAINER (PSPPIRE_DIALOG (dialog)); -- 2.30.2