git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40812
a592a061-630c-0410-9148-
cb99ea01b6c8
return data.str();
}
+
+docstring InsetGraphics::toolTip(BufferView const &, int, int) const
+{
+ return from_utf8(params().filename.onlyFileName());
+}
+
namespace graphics {
void getGraphicsGroups(Buffer const & b, set<string> & ids)
InsetGraphicsParams params_;
/// holds the entity name that defines the graphics location (SGML).
docstring const graphic_label;
+ ///
+ docstring toolTip(BufferView const & bv, int x, int y) const;
/// The thing that actually draws the image on LyX's screen.
RenderGraphic * graphic_;
};
* USER INTERFACE
--
+- Graphics insets show filename as a tooltip now.
+
* DOCUMENTATION AND LOCALIZATION