projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gui: Make syntax execution functions take a PsppireDataWindow argument.
[pspp]
/
src
/
ui
/
gui
/
psppire-var-store.c
diff --git
a/src/ui/gui/psppire-var-store.c
b/src/ui/gui/psppire-var-store.c
index a2e6685443e3dd5a525d5f985f8e7acb1f4dd709..e41b49223979e601e366982afad38dd5faf180be 100644
(file)
--- a/
src/ui/gui/psppire-var-store.c
+++ b/
src/ui/gui/psppire-var-store.c
@@
-1,5
+1,5
@@
/* PSPPIRE - a graphical user interface for PSPP.
/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2006, 2009, 2010 Free Software Foundation
+ Copyright (C) 2006, 2009, 2010
, 2011
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
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
@@
-489,7
+489,7
@@
psppire_var_store_clear (PsppireSheetModel *model, glong row, glong col)
switch (col)
{
case PSPPIRE_VAR_STORE_COL_LABEL:
switch (col)
{
case PSPPIRE_VAR_STORE_COL_LABEL:
- var_
set_label (pv, NULL
);
+ var_
clear_label (pv
);
return TRUE;
break;
}
return TRUE;
break;
}
@@
-588,7
+588,7
@@
psppire_var_store_set_string (PsppireSheetModel *model,
break;
case PSPPIRE_VAR_STORE_COL_LABEL:
{
break;
case PSPPIRE_VAR_STORE_COL_LABEL:
{
- var_set_label (pv, text);
+ var_set_label (pv, text
, true
);
return TRUE;
}
break;
return TRUE;
}
break;
@@
-752,7
+752,8
@@
text_for_column (PsppireVarStore *vs,
{
gchar *const vstr = value_to_text (vl->value, dict, *write_spec);
{
gchar *const vstr = value_to_text (vl->value, dict, *write_spec);
- return g_strdup_printf (_("{%s,`%s'}_"), vstr, val_lab_get_label (vl));
+ return g_strdup_printf (_("{%s,`%s'}_"), vstr,
+ val_lab_get_escaped_label (vl));
}
}
}
}
}
}