From 53c6d464f65c98ee401f660f104eefcabf15440c Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 27 Feb 2002 15:19:21 +0000 Subject: [PATCH] turn proof of concept from Juergen into fix for #214 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3598 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/ChangeLog | 6 ++++++ src/insets/insetcommand.C | 6 ++++++ src/insets/insetcommand.h | 3 +++ src/insets/inseturl.h | 3 --- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 55f5826e63..bed1020648 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,9 @@ +2002-02-27 Jean-Marc Lasgouttes + + * insetcommand.C (insetButtonRelease): ... and move it here. + + * inseturl.h: remove insetButtonRelease from there... + 2002-02-26 Juergen Vigna * inseturl.h: Added a insetButtonRelease call returning true as diff --git a/src/insets/insetcommand.C b/src/insets/insetcommand.C index a5d2f391c5..7dd367698d 100644 --- a/src/insets/insetcommand.C +++ b/src/insets/insetcommand.C @@ -217,3 +217,9 @@ int InsetCommand::docbook(Buffer const *, ostream &) const { return 0; } + + +bool InsetCommand::insetButtonRelease(BufferView *, int, int, int) +{ + return true; +} diff --git a/src/insets/insetcommand.h b/src/insets/insetcommand.h index 6428e667fd..2977beb283 100644 --- a/src/insets/insetcommand.h +++ b/src/insets/insetcommand.h @@ -121,6 +121,9 @@ public: void setParams(InsetCommandParams const &); /// SigC::Signal0 hideDialog; + /// + bool insetButtonRelease(BufferView *, int x, int y, int button); + private: /// InsetCommandParams p_; diff --git a/src/insets/inseturl.h b/src/insets/inseturl.h index 4e2c57c620..d077e33dae 100644 --- a/src/insets/inseturl.h +++ b/src/insets/inseturl.h @@ -53,9 +53,6 @@ public: int linuxdoc(Buffer const *, std::ostream &) const; /// int docbook(Buffer const *, std::ostream &) const; - /// - bool insetButtonRelease(BufferView *, int x, int y, int button) - { return true; } }; #endif -- 2.39.5