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
/
examine-dialog.c
diff --git
a/src/ui/gui/examine-dialog.c
b/src/ui/gui/examine-dialog.c
index 1d8944754c5ec3bc268dda14858da4bfb60a5a04..85505f72bbb349c607a50721f900cfd658b00a2f 100644
(file)
--- a/
src/ui/gui/examine-dialog.c
+++ b/
src/ui/gui/examine-dialog.c
@@
-28,7
+28,7
@@
#include <ui/gui/helper.h>
#include <ui/gui/psppire-dialog.h>
#include <ui/gui/psppire-var-store.h>
#include <ui/gui/helper.h>
#include <ui/gui/psppire-dialog.h>
#include <ui/gui/psppire-var-store.h>
-#include
<ui/gui/helper.h>
+#include
"executor.h"
#include "gettext.h"
#define _(msgid) gettext (msgid)
#include "gettext.h"
#define _(msgid) gettext (msgid)
@@
-279,34
+279,28
@@
examine_dialog (GObject *o, gpointer data)
gtk_window_set_transient_for (GTK_WINDOW (ex_d.stats_dialog), GTK_WINDOW (de));
gtk_window_set_transient_for (GTK_WINDOW (ex_d.opts_dialog), GTK_WINDOW (de));
gtk_window_set_transient_for (GTK_WINDOW (ex_d.stats_dialog), GTK_WINDOW (de));
gtk_window_set_transient_for (GTK_WINDOW (ex_d.opts_dialog), GTK_WINDOW (de));
- g_object_set (source, "dictionary", vs->dict, NULL);
+ g_object_get (vs, "dictionary", &ex_d.dict, NULL);
+ g_object_set (source, "dictionary", ex_d.dict, NULL);
- set_dest_model (GTK_TREE_VIEW (ex_d.dep_list), vs->dict);
- ex_d.dict = vs->dict;
+ set_dest_model (GTK_TREE_VIEW (ex_d.dep_list), ex_d.dict);
psppire_selector_set_subjects (PSPPIRE_SELECTOR (dep_selector),
psppire_selector_set_subjects (PSPPIRE_SELECTOR (dep_selector),
- source,
- ex_d.dep_list,
insert_source_row_into_tree_view,
NULL, NULL);
psppire_selector_set_allow (PSPPIRE_SELECTOR (dep_selector),
numeric_only);
insert_source_row_into_tree_view,
NULL, NULL);
psppire_selector_set_allow (PSPPIRE_SELECTOR (dep_selector),
numeric_only);
- set_dest_model (GTK_TREE_VIEW (ex_d.fct_list),
vs->
dict);
+ set_dest_model (GTK_TREE_VIEW (ex_d.fct_list),
ex_d.
dict);
psppire_selector_set_subjects (PSPPIRE_SELECTOR (fct_selector),
psppire_selector_set_subjects (PSPPIRE_SELECTOR (fct_selector),
- source,
- ex_d.fct_list,
insert_source_row_into_tree_view,
NULL, NULL);
psppire_selector_set_subjects (PSPPIRE_SELECTOR (id_selector),
insert_source_row_into_tree_view,
NULL, NULL);
psppire_selector_set_subjects (PSPPIRE_SELECTOR (id_selector),
- source,
- ex_d.id_entry,
insert_source_row_into_entry,
NULL, NULL);
insert_source_row_into_entry,
NULL, NULL);