projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
output view: make items selectable and use system colours
[pspp]
/
src
/
ui
/
gui
/
psppire-dialog-action-frequencies.c
diff --git
a/src/ui/gui/psppire-dialog-action-frequencies.c
b/src/ui/gui/psppire-dialog-action-frequencies.c
index adca915816cd0973edc8599e215aeb6ed6c15058..714745ca26f7cb7c0182155aaf2ca3ef2e2c1af0 100644
(file)
--- a/
src/ui/gui/psppire-dialog-action-frequencies.c
+++ b/
src/ui/gui/psppire-dialog-action-frequencies.c
@@
-73,7
+73,7
@@
enum
static const struct checkbox_entry_item stats[] = {
static const struct checkbox_entry_item stats[] = {
-#define FS(NAME, LABEL) {#NAME, LABEL},
+#define FS(NAME, LABEL) {#NAME, LABEL
, NULL
},
FREQUENCY_STATS
#undef FS
};
FREQUENCY_STATS
#undef FS
};
@@
-184,7
+184,7
@@
on_charts_clicked (PsppireDialogActionFrequencies *fd)
ret = psppire_dialog_run (PSPPIRE_DIALOG (fd->charts_dialog));
ret = psppire_dialog_run (PSPPIRE_DIALOG (fd->charts_dialog));
- if (
ret == PSPPIRE_RESPONSE_CONTINUE
)
+ if (
ret == PSPPIRE_RESPONSE_CONTINUE
)
{
fd->charts_opts_use_min = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (fd->min));
fd->charts_opts_min = gtk_spin_button_get_value (GTK_SPIN_BUTTON (fd->min_spin));
{
fd->charts_opts_use_min = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (fd->min));
fd->charts_opts_min = gtk_spin_button_get_value (GTK_SPIN_BUTTON (fd->min_spin));
@@
-257,7
+257,7
@@
psppire_dialog_action_frequencies_activate (PsppireDialogAction *a, GVariant *pa
PsppireDialogActionFrequencies *act = PSPPIRE_DIALOG_ACTION_FREQUENCIES (a);
PsppireDialogAction *pda = PSPPIRE_DIALOG_ACTION (a);
PsppireDialogActionFrequencies *act = PSPPIRE_DIALOG_ACTION_FREQUENCIES (a);
PsppireDialogAction *pda = PSPPIRE_DIALOG_ACTION (a);
- GtkBuilder *xml = builder_new (
"frequencies.ui");
+ GtkBuilder *xml = builder_new ("frequencies.ui");
GtkWidget *stats_treeview = get_widget_assert (xml, "stats-treeview");
GtkWidget *stats_treeview = get_widget_assert (xml, "stats-treeview");
@@
-454,6
+454,8
@@
generate_syntax (const PsppireDialogAction * a)
if (fd->charts_opts_pie_include_missing)
ds_put_cstr (&str, " MISSING");
if (fd->charts_opts_pie_include_missing)
ds_put_cstr (&str, " MISSING");
+ else
+ ds_put_cstr (&str, " NOMISSING");
if (fd->charts_opts_use_min)
ds_put_c_format (&str, " MIN(%.15g)", fd->charts_opts_min);
if (fd->charts_opts_use_min)
ds_put_c_format (&str, " MIN(%.15g)", fd->charts_opts_min);