The following commit has been merged in the master branch:
commit f0a6a945fb8bbd0c0d284f6acd6d7f79c596f68d
Author: Andrei Zavada <[email protected]>
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

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to