added: "edit" button on threads
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@616 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -440,6 +440,17 @@ void item_tab_can_read(Info & i)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void item_tab_can_write(Info & i)
|
||||
{
|
||||
if( item_index < request.item_table.size() )
|
||||
{
|
||||
if( request.HasWriteAccess(request.item_table[item_index]) )
|
||||
i.res = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void item_tab_info(Info & i)
|
||||
{
|
||||
if( static_cast<size_t>(locale.GetLang()) >= patterns.size() )
|
||||
@@ -574,6 +585,15 @@ void item_tab_run(Info & i)
|
||||
}
|
||||
|
||||
|
||||
void item_tab_can_use_emacs(Info & i)
|
||||
{
|
||||
if( item_index < request.item_table.size() )
|
||||
{
|
||||
i.res = request.CanUseEmacs(request.item_table[item_index], true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user