projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PsppireSelector: new properties: "source-widget" and "dest-widget".
[pspp-builds.git]
/
src
/
ui
/
gui
/
compute-dialog.c
diff --git
a/src/ui/gui/compute-dialog.c
b/src/ui/gui/compute-dialog.c
index e779fba6d7f7c847144d1d6254ad57354bb705e2..34f686162b44db3e94edbf08c826a0c10ea42bb4 100644
(file)
--- a/
src/ui/gui/compute-dialog.c
+++ b/
src/ui/gui/compute-dialog.c
@@
-389,7
+389,7
@@
compute_dialog (GObject *o, gpointer data)
g_object_get (de->data_editor, "var-store", &vs, NULL);
g_object_get (de->data_editor, "var-store", &vs, NULL);
-
scd.dict = vs->dict
;
+
g_object_get (vs, "dictionary", &scd.dict, NULL)
;
scd.use_type = FALSE;
g_signal_connect (expression, "toggled",
scd.use_type = FALSE;
g_signal_connect (expression, "toggled",
@@
-397,13
+397,12
@@
compute_dialog (GObject *o, gpointer data)
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (de));
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (de));
- g_object_set (dict_view,
-
"dictionary", vs->
dict,
+
+
g_object_set (dict_view, "dictionary", scd.
dict,
"selection-mode", GTK_SELECTION_SINGLE,
NULL);
psppire_selector_set_subjects (PSPPIRE_SELECTOR (var_selector),
"selection-mode", GTK_SELECTION_SINGLE,
NULL);
psppire_selector_set_subjects (PSPPIRE_SELECTOR (var_selector),
- dict_view, syntax_area,
insert_source_row_into_text_view,
NULL,
NULL);
insert_source_row_into_text_view,
NULL,
NULL);
@@
-412,7
+411,6
@@
compute_dialog (GObject *o, gpointer data)
function_list_populate (GTK_TREE_VIEW (functions));
psppire_selector_set_subjects (PSPPIRE_SELECTOR (func_selector),
function_list_populate (GTK_TREE_VIEW (functions));
psppire_selector_set_subjects (PSPPIRE_SELECTOR (func_selector),
- functions, syntax_area,
insert_function_into_syntax_area,
NULL,
NULL);
insert_function_into_syntax_area,
NULL,
NULL);