X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-buttonbox.c;h=e4ee788566320f30117b647254f31521590fcd5f;hb=a84eb76b976646ae9b0315ae6b856bf0f71da567;hp=b36f8d507c067dbf46f655a5ddfba3a6a02bb86e;hpb=28a74a7e6490448857ecfd5ead1c3ae3ddfea9d7;p=pspp-builds.git diff --git a/src/ui/gui/psppire-buttonbox.c b/src/ui/gui/psppire-buttonbox.c index b36f8d50..e4ee7885 100644 --- 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); } +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) @@ -243,6 +249,8 @@ psppire_button_box_init (PsppireButtonBox *bb) 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);