+void
+psppire_acr_set_entry (PsppireAcr *acr, GtkEntry *entry)
+{
+ acr->get_value = value_from_entry;
+ acr->get_value_data = entry;
+ acr->enabled = entry_not_empty;
+ acr->enabled_data = entry;
+ acr->update = clear_entry;
+ acr->update_data = entry;
+
+ g_signal_connect (entry, "changed", G_CALLBACK (on_entry_change), acr);
+}
+
+
+/* Callback for when the Add button is clicked.
+ It appends an item to the list. */
+static void
+on_add_button_clicked (PsppireAcr *acr)
+{
+ gint i;
+ GtkTreeIter iter;