'tickets' can use 'threads' now
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@706 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -77,14 +77,7 @@ return true;
|
||||
|
||||
void Emacs::PostFunEmacsModifyMountPoint(bool adding)
|
||||
{
|
||||
if( system->mounts.pmount->type == system->mounts.MountTypeThread() && adding )
|
||||
db->EditThreadAddItem(request->dir_tab.back()->id, request->item.id);
|
||||
|
||||
|
||||
if( system->mounts.pmount->type == system->mounts.MountTypeCms() )
|
||||
system->RedirectTo(request->item);
|
||||
else
|
||||
system->RedirectToLastDir();
|
||||
system->RedirectToLastItem();
|
||||
}
|
||||
|
||||
|
||||
@@ -92,8 +85,9 @@ void Emacs::PostFunEmacsModifyMountPoint(bool adding)
|
||||
|
||||
int Emacs::NotifyCodeEdit()
|
||||
{
|
||||
if( system->mounts.pmount->type == system->mounts.MountTypeThread() )
|
||||
return WINIX_NOTIFY_CODE_THREAD_POST_CHANGED;
|
||||
// !! nie potrzebne
|
||||
// if( system->mounts.pmount->type == system->mounts.MountTypeThread() )
|
||||
// return WINIX_NOTIFY_CODE_THREAD_POST_CHANGED;
|
||||
|
||||
return WINIX_NOTIFY_CODE_FILE_EDIT;
|
||||
}
|
||||
@@ -103,8 +97,9 @@ return WINIX_NOTIFY_CODE_FILE_EDIT;
|
||||
|
||||
int Emacs::NotifyCodeAdd()
|
||||
{
|
||||
if( system->mounts.pmount->type == system->mounts.MountTypeThread() )
|
||||
return WINIX_NOTIFY_CODE_THREAD_REPLAYED;
|
||||
// !! nie potrzebne
|
||||
// if( system->mounts.pmount->type == system->mounts.MountTypeThread() )
|
||||
// return WINIX_NOTIFY_CODE_THREAD_REPLAYED;
|
||||
|
||||
return WINIX_NOTIFY_CODE_FILE_ADD;
|
||||
}
|
||||
|
Reference in New Issue
Block a user