[commit] r2422 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Thu Jan 30 10:04:34 CST 2014


Author: ksmyth
Date: Thu Jan 30 10:04:34 2014
New Revision: 2422

Log:
Show mga filename in title (META-2624)

Modified:
   trunk/GME/Gme/GMEApp.cpp

Modified: trunk/GME/Gme/GMEApp.cpp
==============================================================================
--- trunk/GME/Gme/GMEApp.cpp	Thu Jan 30 10:04:25 2014	(r2421)
+++ trunk/GME/Gme/GMEApp.cpp	Thu Jan 30 10:04:34 2014	(r2422)
@@ -893,6 +893,11 @@
 		CChildFrame* childFrame = STATIC_DOWNCAST(CChildFrame, pChild);
 		projectName = childFrame->GetTitle() + _T(" - ") + childFrame->GetAppTitle();
 	}
+	if (mgaProject && isMgaProj()) {
+		CString filename, dirname;
+		getMgaPaths(filename, dirname);
+		projectName = projectName + L" (" + filename + L")";
+	}
 	CMainFrame::theInstance->UpdateTitle(projectName);
 }
 


More information about the gme-commit mailing list