fix cut/copy in tables; update fr.po and POTFILES.in

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5927 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2003-01-09 14:31:24 +00:00
parent 6caa1b7bc5
commit 12c2f4e984
5 changed files with 4333 additions and 3786 deletions

View File

@ -1,3 +1,11 @@
2003-01-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* POTFILES.in: update
2003-01-08 Adrien Rebollo <adrien.rebollo@gmx.fr>
* fr.po: update
2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
* de.po: update

View File

@ -12,7 +12,6 @@ src/bufferview_funcs.C
src/converter.C
src/debug.C
src/exporter.C
src/ext_l10n.h
src/frontends/LyXView.C
src/frontends/controllers/ButtonController.h
src/frontends/controllers/ControlAboutlyx.C
@ -81,6 +80,7 @@ src/frontends/qt2/QToc.C
src/frontends/qt2/QURL.C
src/frontends/qt2/QVCLog.C
src/frontends/qt2/QWrap.C
src/frontends/qt2/QtView.C
src/frontends/qt2/lengthcombo.C
src/frontends/xforms/Alert_pimpl.C
src/frontends/xforms/ColorHandler.C
@ -181,4 +181,3 @@ src/tabular.C
src/text.C
src/text2.C
src/text3.C
src/ext_l10n.h

8078
po/fr.po

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,8 @@
2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
tabular in a float
2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* importer.C (Loaders): do not preallocate 3 elements in the

View File

@ -338,9 +338,12 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & ev) const
break;
case LFUN_CUT:
case LFUN_COPY:
if (tli && tli->lyxCode() == Inset::TABULAR_CODE) {
InsetTabular * t(static_cast<InsetTabular*>(tli));
if (t->hasSelection()) {
if (tli) {
UpdatableInset * in = tli;
if (in->lyxCode() != Inset::TABULAR_CODE) {
in = tli->getFirstLockingInsetOfType(Inset::TABULAR_CODE);
}
if (in && static_cast<InsetTabular*>(in)->hasSelection()) {
disable = false;
break;
}