[GME-commit]
GMESRC/GME/GMEActiveBrowser AggregateContextMenu.cpp,1.25,1.26
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Wed Nov 1 17:43:42 CST 2006
Update of /project/gme-repository/GMESRC/GME/GMEActiveBrowser
In directory escher:/tmp/cvs-serv19239
Modified Files:
AggregateContextMenu.cpp
Log Message:
Attach allowed only on rootfolder.
CVS User: Zoltan Molnar, ISIS (zolmol)
Index: AggregateContextMenu.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/GMEActiveBrowser/AggregateContextMenu.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** AggregateContextMenu.cpp 13 Mar 2006 19:24:24 -0000 1.25
--- AggregateContextMenu.cpp 1 Nov 2006 17:43:40 -0000 1.26
***************
*** 663,666 ****
--- 663,667 ----
// EnableMenuItem(ID_POPUP_REGISTRY,MF_GRAYED);
+ EnableMenuItem(ID_POPUP_ATTACH_LIBRARY, hItem == m_pParent->m_TreeAggregate.GetRootItem()?MF_ENABLED : MF_GRAYED);
if(!m_pParent->m_TreeAggregate.IsLibrary(MgaObjectProxy.m_pMgaObject))
{
More information about the GME-commit
mailing list