projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented "type & label" subdialog on compute.
[pspp-builds.git]
/
src
/
ui
/
gui
/
psppire-buttonbox.c
diff --git
a/src/ui/gui/psppire-buttonbox.c
b/src/ui/gui/psppire-buttonbox.c
index b36f8d507c067dbf46f655a5ddfba3a6a02bb86e..e4ee788566320f30117b647254f31521590fcd5f 100644
(file)
--- a/
src/ui/gui/psppire-buttonbox.c
+++ b/
src/ui/gui/psppire-buttonbox.c
@@
-183,6
+183,12
@@
close_dialog (GtkWidget *w, gpointer data)
close_and_respond (w, GTK_RESPONSE_CLOSE);
}
close_and_respond (w, GTK_RESPONSE_CLOSE);
}
+static void
+continue_button_clicked (GtkWidget *w, gpointer data)
+{
+ close_and_respond (w, PSPPIRE_RESPONSE_CONTINUE);
+}
+
static void
ok_button_clicked (GtkWidget *w, gpointer data)
static void
ok_button_clicked (GtkWidget *w, gpointer data)
@@
-243,6
+249,8
@@
psppire_button_box_init (PsppireButtonBox *bb)
gtk_box_pack_start_defaults (GTK_BOX (bb),
bb->button[PSPPIRE_BUTTON_CONTINUE]);
gtk_box_pack_start_defaults (GTK_BOX (bb),
bb->button[PSPPIRE_BUTTON_CONTINUE]);
+ g_signal_connect (bb->button[PSPPIRE_BUTTON_CONTINUE], "clicked",
+ G_CALLBACK (continue_button_clicked), NULL);
g_object_set (bb->button[PSPPIRE_BUTTON_CONTINUE],
"no-show-all", TRUE, NULL);
g_object_set (bb->button[PSPPIRE_BUTTON_CONTINUE],
"no-show-all", TRUE, NULL);