gui: psppire-var-view: Change "<unset>" to null string.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 10 Apr 2011 16:52:31 +0000 (09:52 -0700)
committerBen 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

index a840539dcba38087d037fdc56235b9bee8460d74..76130c04af196a5e1f790af057b6b6c32255b240 100644 (file)
@@ -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);
 }