projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Populate the data sheet in the import assistant
[pspp]
/
src
/
ui
/
gui
/
val-labs-dialog.c
diff --git
a/src/ui/gui/val-labs-dialog.c
b/src/ui/gui/val-labs-dialog.c
index bea5273e00b626ec088284b159eef64c950085e9..ab56135ccc637dbbf6448fc34eac0e3e7c49748f 100644
(file)
--- a/
src/ui/gui/val-labs-dialog.c
+++ b/
src/ui/gui/val-labs-dialog.c
@@
-326,7
+326,7
@@
get_selected_tuple (PsppireValLabsDialog *dialog,
if (vl != NULL)
*label = val_lab_get_escaped_label (vl);
}
if (vl != NULL)
*label = val_lab_get_escaped_label (vl);
}
-
+
return TRUE;
}
return TRUE;
}
@@
-399,7
+399,7
@@
on_remove (GtkWidget *w, gpointer data)
if (! get_selected_tuple (dialog, &value, NULL))
return;
if (! get_selected_tuple (dialog, &value, NULL))
return;
-
+
vl = val_labs_lookup (dialog->labs, &value);
if (vl != NULL)
val_labs_remove (dialog->labs, vl);
vl = val_labs_lookup (dialog->labs, &value);
if (vl != NULL)
val_labs_remove (dialog->labs, vl);
@@
-426,7
+426,7
@@
on_select_row (GtkTreeView *treeview, gpointer data)
if (! get_selected_tuple (dialog, &value, &label))
return;
if (! get_selected_tuple (dialog, &value, &label))
return;
-
+
text = value_to_text__ (value, &dialog->format, dialog->encoding);
g_signal_handler_block (GTK_ENTRY (dialog->value_entry),
text = value_to_text__ (value, &dialog->format, dialog->encoding);
g_signal_handler_block (GTK_ENTRY (dialog->value_entry),