The following commit has been merged in the master branch:
commit a119f494a3a958aeb38314c84fd8232b6589c3d4
Author: Andrei Zavada <[email protected]>
Date:   Mon Apr 22 22:44:07 2013 +0300

    move widget visibility setting calls where it was before 1160837dd

diff --git a/src/ui/sf/sf.cc b/src/ui/sf/sf.cc
index e01d96f..d681dac 100644
--- a/src/ui/sf/sf.cc
+++ b/src/ui/sf/sf.cc
@@ -223,9 +223,7 @@ SScoringFacility (agh::CSubject& J,
                      "height-request", (int)da_ht,
                      NULL);
 
-       // display proper control bar and set tooltip
-       gtk_widget_set_visible( (GtkWidget*)cSFScoringModeContainer, TRUE);
-       gtk_widget_set_visible( (GtkWidget*)cSFICAModeContainer, FALSE);
+       // set tooltip
        set_tooltip( TTipIdx::scoring_mode);
 
        // grey out phasediff button if there are fewer than 2 EEG channels
@@ -284,6 +282,11 @@ SScoringFacility (agh::CSubject& J,
 
        suppress_redraw = false;
        gtk_widget_show_all( (GtkWidget*)wSF);
+
+       // display proper control bar (has to be done on a shown widget)
+       gtk_widget_set_visible( (GtkWidget*)cSFScoringModeContainer, TRUE);
+       gtk_widget_set_visible( (GtkWidget*)cSFICAModeContainer, FALSE);
+
        queue_redraw_all();
 
       // advise parent we are open

-- 
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