[med-svn] [SCM] aghermann branch, master, updated. c0bd21ca8eb529ade7e0c7aad22951a308a8dc8f
Andrei Zavada
johnhommer at gmail.com
Wed May 1 00:09:24 UTC 2013
The following commit has been merged in the master branch:
commit a119f494a3a958aeb38314c84fd8232b6589c3d4
Author: Andrei Zavada <johnhommer at gmail.com>
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
More information about the debian-med-commit
mailing list