projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb5c914
)
gui: psppire-var-view: Change "<unset>" to null string.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 10 Apr 2011 16:52:31 +0000
(09:52 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 10 Apr 2011 16:52:31 +0000
(09:52 -0700)
Commit
0cb2b9c42
caused NULL variables to be displayed as "<unset>".
This commit changes that to the empty string, which doesn't require
translation and is equally clear.
Suggested by John Darrington <john@darrington.wattle.id.au>.
src/ui/gui/psppire-var-view.c
patch
|
blob
|
history
diff --git
a/src/ui/gui/psppire-var-view.c
b/src/ui/gui/psppire-var-view.c
index a840539dcba38087d037fdc56235b9bee8460d74..76130c04af196a5e1f790af057b6b6c32255b240 100644
(file)
--- a/
src/ui/gui/psppire-var-view.c
+++ b/
src/ui/gui/psppire-var-view.c
@@
-141,7
+141,7
@@
display_cell_var_name (GtkTreeViewColumn *tree_column,
g_value_unset (&value);
- g_object_set (cell, "text", var ? var_get_name (var) : "
<unset>
", NULL);
+ g_object_set (cell, "text", var ? var_get_name (var) : "", NULL);
}