Author: post
Date: 2010-12-29 18:37:39 +0100 (Wed, 29 Dec 2010)
New Revision: 3712

Modified:
   trunk/src/gtk-interface.c
Log:
Pause IO threads when opening new directory.

Modified: trunk/src/gtk-interface.c
===================================================================
--- trunk/src/gtk-interface.c   2010-12-29 17:36:11 UTC (rev 3711)
+++ trunk/src/gtk-interface.c   2010-12-29 17:37:39 UTC (rev 3712)
@@ -1313,6 +1313,7 @@
        /* directory will be reset on next startup */
        rs_conf_set_string(CONF_LWD, g_get_home_dir());
 
+       rs_io_idle_pause();
        rs_store_remove(rs->store, NULL, NULL);
        guint msgid = gui_status_push(_("Opening directory..."));
        gui_set_busy(TRUE);
@@ -1323,6 +1324,7 @@
        GTK_CATCHUP();
        gui_status_pop(msgid);
        gui_set_busy(FALSE);
+       rs_io_idle_unpause();
 
        /* Restore directory */
        rs_conf_set_string(CONF_LWD, path);


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

Reply via email to