The following commit has been merged in the master branch:
commit 5be264140f85d08add53501420dceceececbc486
Author: Andrei Zavada <[email protected]>
Date: Mon Apr 22 18:01:35 2013 +0300
suggest to hide some channels if SF being opened has too many visible ones
diff --git a/src/ui/sf/sf.cc b/src/ui/sf/sf.cc
index 991db32..10e97f8 100644
--- a/src/ui/sf/sf.cc
+++ b/src/ui/sf/sf.cc
@@ -260,6 +260,12 @@ SScoringFacility (agh::CSubject& J,
(GtkContainer*)iiSFPageHidden,
item);
}
+ // if there's too many visible, suggest to hide some
+ if ( channels.size() - n_hidden > 10 )
+ aghui::pop_ok_message(
+ wSF, "Overcrowded montage",
+ "The recording you are about to view has %zu channels. "
+ "You can hide some from channel context menus.",
channels.size() - n_hidden);
{
int bar_height;
--
Sleep experiment manager
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit