[commit] r1835 - trunk/GME/Gme
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Fri Feb 24 09:52:47 CST 2012
Author: ksmyth
Date: Fri Feb 24 09:52:47 2012
New Revision: 1835
Log:
Open drag-n-dropped .html files in console
Modified:
trunk/GME/Gme/MainFrm.cpp
Modified: trunk/GME/Gme/MainFrm.cpp
==============================================================================
--- trunk/GME/Gme/MainFrm.cpp Fri Feb 24 09:52:35 2012 (r1834)
+++ trunk/GME/Gme/MainFrm.cpp Fri Feb 24 09:52:47 2012 (r1835)
@@ -1286,8 +1286,13 @@
else
m_console.Message( _T("Can't register paradigm file while project is open!"), 3);
}
+ else if (conn.Right(4).CompareNoCase(_T(".htm")) == 0 || conn.Right(5).CompareNoCase(_T(".html")) == 0)
+ {
+ m_console.NavigateTo(conn);
+ }
+
else
- m_console.Message( _T(".MGX, .MGA, .XME, .MTA, .XMP files may be dropped only. Can't open file: ") + conn + _T("!"), 3);
+ m_console.Message( _T("Only .MGX, .MGA, .XME, .MTA, .XMP, and .html files may be dropped. Can't open file: ") + conn + _T("."), 3);
}
else
m_console.Message( _T("Can't inquire file information!"), 3);
More information about the gme-commit
mailing list