Author: post
Date: 2010-03-30 22:56:30 +0200 (Tue, 30 Mar 2010)
New Revision: 3280

Modified:
   trunk/src/gtk-interface.c
Log:
Reenable GTK_CATCHUP on startup, but enclose it in 
gdk_threads_enter/gdk_threads_leave. This gives more responsive startup.

Modified: trunk/src/gtk-interface.c
===================================================================
--- trunk/src/gtk-interface.c   2010-03-29 20:36:54 UTC (rev 3279)
+++ trunk/src/gtk-interface.c   2010-03-30 20:56:30 UTC (rev 3280)
@@ -1191,6 +1191,9 @@
 
                gui_set_busy(TRUE);
                gui_status_push(_("Opening directory..."));
+               gdk_threads_enter();
+               GTK_CATCHUP();
+               gdk_threads_leave();
 
                /* Set this, so directory is reset, if a crash occurs during 
load, */
                /* directory will be reset on next startup */


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to