From b2ee876447d8708c8bfc860dd8f69a25ac60098f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Tue, 16 Dec 2008 15:36:27 +0000 Subject: [PATCH] Let InsetWrap find its InsetLayout. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27896 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/stdinsets.inc | 8 ++++++++ src/insets/InsetWrap.cpp | 2 +- status.16x | 2 ++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/layouts/stdinsets.inc b/lib/layouts/stdinsets.inc index 070042d14b..989e67e197 100644 --- a/lib/layouts/stdinsets.inc +++ b/lib/layouts/stdinsets.inc @@ -236,6 +236,14 @@ InsetLayout Float MultiPar true End +InsetLayout Wrap + LabelFont + Color collapsable + Size Small + EndFont + MultiPar true +End + InsetLayout URL LyXType standard LatexName url diff --git a/src/insets/InsetWrap.cpp b/src/insets/InsetWrap.cpp index c07f39c9af..46d2f7bd52 100644 --- a/src/insets/InsetWrap.cpp +++ b/src/insets/InsetWrap.cpp @@ -62,7 +62,7 @@ InsetWrap::~InsetWrap() docstring InsetWrap::name() const { - return from_utf8(params_.type); + return "Wrap:" + from_utf8(params_.type); } diff --git a/status.16x b/status.16x index 7720739a93..6142bdb740 100644 --- a/status.16x +++ b/status.16x @@ -59,6 +59,8 @@ What's new - Set buffer status to changed and record UNDO after modifying insets such as pagebreaks or citations via context menu. + +- Fix on-screen layout of wrap floats. - Improve debug output when tracing what actions are triggered.