[med-svn] [SCM] aghermann branch, master, updated. 3b87b4f8039ed683022537a0599b7dea069974d2

Andrei Zavada johnhommer at gmail.com
Sun Sep 30 22:40:50 UTC 2012


The following commit has been merged in the master branch:
commit f0a6a945fb8bbd0c0d284f6acd6d7f79c596f68d
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Sat Sep 29 01:01:49 2012 +0300

    ICM

diff --git a/src/ui/expdesign.cc b/src/ui/expdesign.cc
index 69ba230..c7730d5 100644
--- a/src/ui/expdesign.cc
+++ b/src/ui/expdesign.cc
@@ -406,13 +406,13 @@ depopulate( bool do_save)
 
 void
 aghui::SExpDesignUI::
-do_rescan_tree( bool ensure)
+do_rescan_tree( bool with_update)
 {
-	set_wMainWindow_interactive( false);
+	aghui::SBusyBlock bb (wMainWindow);
 
 	depopulate( false);
 	ED -> sync();
-	if ( ensure )
+	if ( with_update )
 		ED -> scan_tree( bind (&SExpDesignUI::sb_main_progress_indicator, this,
 				       placeholders::_1, placeholders::_2, placeholders::_3));
 	else
@@ -422,8 +422,6 @@ do_rescan_tree( bool ensure)
 	gtk_statusbar_pop( sbMainStatusBar, sbMainContextIdGeneral);
 	gtk_statusbar_push( sbMainStatusBar, sbMainContextIdGeneral,
 			    "Scanning complete");
-
-	set_wMainWindow_interactive( true);
 }
 
 

-- 
Sleep experiment manager



More information about the debian-med-commit mailing list