AUDIT: r17338 - gnucash/trunk/src/import-export/aqbanking - Run some iterations of the main loop in showbox_cb to give the window a chance to be showed.

Andreas Köhler andi5 at cvs.gnucash.org
Tue Jul 15 19:44:42 EDT 2008


Author: andi5
Date: 2008-07-15 19:44:41 -0400 (Tue, 15 Jul 2008)
New Revision: 17338
Trac: http://svn.gnucash.org/trac/changeset/17338

Modified:
   gnucash/trunk/src/import-export/aqbanking/gnc-gwen-gui.c
Log:
Run some iterations of the main loop in showbox_cb to give the window a chance to be showed.

BP


Modified: gnucash/trunk/src/import-export/aqbanking/gnc-gwen-gui.c
===================================================================
--- gnucash/trunk/src/import-export/aqbanking/gnc-gwen-gui.c	2008-07-15 23:17:49 UTC (rev 17337)
+++ gnucash/trunk/src/import-export/aqbanking/gnc-gwen-gui.c	2008-07-15 23:44:41 UTC (rev 17338)
@@ -980,6 +980,10 @@
                         dialog);
     gui->showbox_last = dialog;
 
+    /* Give it a change to be showed */
+    if (!keep_alive(gui))
+        showbox_id = 0;
+
     LEAVE("id=%" G_GUINT32_FORMAT, showbox_id);
     return showbox_id;
 }



More information about the gnucash-changes mailing list