]> git.lyx.org Git - lyx.git/commitdiff
turn proof of concept from Juergen into fix for #214
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 27 Feb 2002 15:19:21 +0000 (15:19 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 27 Feb 2002 15:19:21 +0000 (15:19 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3598 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ChangeLog
src/insets/insetcommand.C
src/insets/insetcommand.h
src/insets/inseturl.h

index 55f5826e634088d05c26991aef707f4bf172f000..bed1020648d4af8a854da3a65170eb6813932ddc 100644 (file)
@@ -1,3 +1,9 @@
+2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * insetcommand.C (insetButtonRelease): ... and move it here.
+
+       * inseturl.h: remove insetButtonRelease from there...
+
 2002-02-26  Juergen Vigna  <jug@sad.it>
 
        * inseturl.h: Added a insetButtonRelease call returning true as
index a5d2f391c5d230700939757af3c76fd4282d4bdd..7dd367698dc0e18a9b42723b1de0e0b8a81f5869 100644 (file)
@@ -217,3 +217,9 @@ int InsetCommand::docbook(Buffer const *, ostream &) const
 {
        return 0;
 }
+
+
+bool InsetCommand::insetButtonRelease(BufferView *, int, int, int)
+{
+       return true;
+}
index 6428e667fd006611b40e9b12438cebb3777e6f71..2977beb283bfb0dce26287d7dc0f440aa2e6d97c 100644 (file)
@@ -121,6 +121,9 @@ public:
        void setParams(InsetCommandParams const &);
        ///
        SigC::Signal0<void> hideDialog;
+       ///
+       bool insetButtonRelease(BufferView *, int x, int y, int button);
+
 private:
        ///
        InsetCommandParams p_;
index 4e2c57c62040bec8d7fc484cb4eb10054acc881a..d077e33daebfe3ca7833428bf835e62fa48f96dc 100644 (file)
@@ -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