no message

svn path=/trunk/boinc/; revision=1192
This commit is contained in:
Dan Werthimer 2003-05-14 18:09:15 +00:00
parent 87cbf8fe47
commit 98aea53132
3 changed files with 2 additions and 4 deletions

View File

@ -230,7 +230,6 @@ BEGIN
END
POPUP "Project"
BEGIN
MENUITEM "Relogin...", ID_PROJECT_RELOGIN
MENUITEM "Quit Project...", ID_PROJECT_QUIT
END
POPUP "Work"

View File

@ -955,7 +955,7 @@ void CMainWindow::OnCommandSettingsQuit()
CString str;
str.Format("Are you sure you want to quit the project %s?", gstate.projects[dlg.m_nSel]->get_project_name());
if(AfxMessageBox(str, MB_YESNO, 0) == IDYES) {
gstate.quit_project(dlg.m_nSel);
gstate.quit_project(gstate.projects[dlg.m_nSel]);
}
}
}
@ -1109,7 +1109,7 @@ void CMainWindow::OnCommandProjectQuit()
CString strBuf;
strBuf.Format("Are you sure you want to quit the project %s?", gstate.projects[i]->get_project_name());
if(AfxMessageBox(strBuf, MB_YESNO, 0) == IDYES) {
gstate.quit_project(i);
gstate.quit_project(gstate.projects[i]);
}
}

View File

@ -131,7 +131,6 @@ protected:
afx_msg void OnCommandSettingsLogin();
afx_msg void OnCommandSettingsProxyServer();
afx_msg void OnCommandHelpAbout();
afx_msg void OnCommandProjectRelogin();
afx_msg void OnCommandProjectQuit();
afx_msg void OnCommandWorkShowGraphics();
afx_msg void OnCommandFileClearInactive();