X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Foneway-anova-dialog.c;h=e1e3c5aeca6542b7cdc48b22cdca3d1113fc37a1;hb=b94025a12799b6826a772731b8f58907dca2cf5c;hp=3234c32325b544140676080aa1ab94802e6fb14a;hpb=a9a69251edd625a50f271af5d64c157533b5fe48;p=pspp-builds.git diff --git a/src/ui/gui/oneway-anova-dialog.c b/src/ui/gui/oneway-anova-dialog.c index 3234c323..e1e3c5ae 100644 --- a/src/ui/gui/oneway-anova-dialog.c +++ b/src/ui/gui/oneway-anova-dialog.c @@ -176,18 +176,19 @@ oneway_anova_dialog (GObject *o, gpointer data) set_dest_model (GTK_TREE_VIEW (ow.vars_treeview), ow.dict); - psppire_selector_set_subjects (PSPPIRE_SELECTOR (selector1), + psppire_selector_set_select_func (PSPPIRE_SELECTOR (selector1), insert_source_row_into_tree_view, - NULL, NULL); - psppire_selector_set_subjects (PSPPIRE_SELECTOR (selector2), + psppire_selector_set_select_func (PSPPIRE_SELECTOR (selector2), insert_source_row_into_entry, - is_currently_in_entry, NULL); + psppire_selector_set_filter_func (PSPPIRE_SELECTOR (selector2), + is_currently_in_entry); + g_signal_connect_swapped (ow.dialog, "refresh", G_CALLBACK (refresh), &ow);