[email protected] wrote:
> Author: sanda
> Date: Mon Feb 27 00:09:25 2012
> New Revision: 40797
> URL: http://www.lyx.org/trac/changeset/40797
>
> Log:
> Simplify & fix InsetGraphics tooltip, DocFileName inherits from FileName.
To branch? P
>
>Modified:
> lyx-devel/trunk/src/insets/InsetGraphics.cpp
>
> Modified: lyx-devel/trunk/src/insets/InsetGraphics.cpp
> ==============================================================================
> --- lyx-devel/trunk/src/insets/InsetGraphics.cpp Sun Feb 26 00:05:28
> 2012 (r40796)[37m
> +++ lyx-devel/trunk/src/insets/InsetGraphics.cpp Mon Feb 27 00:09:25
> 2012 (r40797)[37m
> @@ -1091,7 +1091,7 @@
>
> docstring InsetGraphics::toolTip(BufferView const &, int, int) const
> {
> - return
> from_utf8(FileName(params().filename.relFileName()).onlyFileName());[37m
> + return from_utf8(params().filename.onlyFileName());[37m
> }
>
> namespace graphics {