mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 22:06:15 +00:00
Proper naming of LFUN_SET_GRAPHICS_GROUP.
This commit is contained in:
parent
6e1ca3a4f2
commit
b7caaf6196
@ -33,6 +33,8 @@ LFUN_EXPORT_CANCEL: Used to cancel background export processes.
|
||||
|
||||
!!!The following LyX functions have been changed in 2.4:
|
||||
|
||||
- LFUN_SET_GRAPHICS_GROUP was renamed into LFUN_GRAPHICS_SET_GROUP.
|
||||
|
||||
|
||||
|
||||
!!!The following LyX documents have been moved in 2.4:
|
||||
|
@ -404,7 +404,7 @@ enum FuncCode
|
||||
LFUN_COMPLETE,
|
||||
// 310
|
||||
LFUN_COMPLETION_COMPLETE,
|
||||
LFUN_SET_GRAPHICS_GROUP,
|
||||
LFUN_GRAPHICS_SET_GROUP,
|
||||
LFUN_COMPLETION_CANCEL,
|
||||
LFUN_COMPLETION_ACCEPT,
|
||||
LFUN_COMMAND_ALTERNATIVES,
|
||||
|
@ -3536,15 +3536,15 @@ void LyXAction::init()
|
||||
{ LFUN_SET_COLOR, "set-color", ReadOnly | NoBuffer, System },
|
||||
|
||||
/*!
|
||||
* \var lyx::FuncCode lyx::LFUN_SET_GRAPHICS_GROUP
|
||||
* \var lyx::FuncCode lyx::LFUN_GRAPHICS_SET_GROUP
|
||||
* \li Action: Set the group for the graphics inset on the cursor position.
|
||||
* \li Syntax: set-graphics-group [<GROUP>]
|
||||
* \li Syntax: graphics-set-group [<GROUP>]
|
||||
* \li Params: <GROUP>: Id for an existing group. In case the Id is an empty string,
|
||||
the graphics inset is removed from the current group.
|
||||
* \li Origin: sanda, 6 May 2008
|
||||
* \endvar
|
||||
*/
|
||||
{ LFUN_SET_GRAPHICS_GROUP, "set-graphics-group", Noop, Edit },
|
||||
{ LFUN_GRAPHICS_SET_GROUP, "graphics-set-group", Noop, Edit },
|
||||
|
||||
/*!
|
||||
* \var lyx::FuncCode lyx::LFUN_GRAPHICS_UNIFY
|
||||
|
@ -1312,7 +1312,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
break;
|
||||
}
|
||||
|
||||
case LFUN_SET_GRAPHICS_GROUP: {
|
||||
case LFUN_GRAPHICS_SET_GROUP: {
|
||||
InsetGraphics * ins = graphics::getCurrentGraphicsInset(cur);
|
||||
if (!ins)
|
||||
break;
|
||||
@ -3254,7 +3254,7 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
enable = cur.paragraph().isPassThru();
|
||||
break;
|
||||
|
||||
case LFUN_SET_GRAPHICS_GROUP: {
|
||||
case LFUN_GRAPHICS_SET_GROUP: {
|
||||
InsetGraphics * ins = graphics::getCurrentGraphicsInset(cur);
|
||||
if (!ins)
|
||||
enable = false;
|
||||
|
@ -803,10 +803,10 @@ void MenuDefinition::expandGraphicsGroups(BufferView const * bv)
|
||||
set<string>::const_iterator it = grp.begin();
|
||||
set<string>::const_iterator end = grp.end();
|
||||
add(MenuItem(MenuItem::Command, qt_("No Group"),
|
||||
FuncRequest(LFUN_SET_GRAPHICS_GROUP)));
|
||||
FuncRequest(LFUN_GRAPHICS_SET_GROUP)));
|
||||
for (; it != end; ++it) {
|
||||
addWithStatusCheck(MenuItem(MenuItem::Command, toqstr(*it) + '|',
|
||||
FuncRequest(LFUN_SET_GRAPHICS_GROUP, *it)));
|
||||
FuncRequest(LFUN_GRAPHICS_SET_GROUP, *it)));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user