--- gtkassistant.c.orig	2009-07-26 10:53:04.000000000 +0200
+++ gtkassistant.c	2009-07-26 10:54:11.000000000 +0200
@@ -625,10 +625,10 @@
 {
   gboolean success;
 
-  success = compute_next_step (assistant);
-
   g_signal_emit (assistant, signals [APPLY], 0);
 
+  success = compute_next_step (assistant);
+
   /* if the assistant hasn't switched to another page, just emit
    * the CLOSE signal, it't the last page in the assistant flow
    */
