+2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
+
+ * Makefile.am (lyx_SOURCES): remove vms_defines.h
+
2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
* text2.C (setLayout): get rid of redundant code
+2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
+
+ * inset.h: ... and add a better one here.
+
+ * insetcommand.C (insetButtonRelease): remove that one which was a
+ bit broken...
+
2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetcommand.C (insetButtonRelease): ... and move it here.
virtual void insetButtonPress(BufferView *, int, int, int) {}
/// This is called when the user releases the button inside an inset
// the bool return is used to see if we opened a dialog so that we can
- // check this from an outer inset and open the dialog of the outer inset
- // if that one has one!
- ///
+ // check this from an outer inset and open the dialog of the
+ // outer inset if that one has one!
virtual bool insetButtonRelease(BufferView *, int, int, int)
- { return false; }
+ { return editable() == IS_EDITABLE; }
/// This is called when the user moves the mouse inside an inset
virtual void insetMotionNotify(BufferView *, int , int , int) {}
///
void setParams(InsetCommandParams const &);
///
SigC::Signal0<void> hideDialog;
- ///
- bool insetButtonRelease(BufferView *, int x, int y, int button);
private:
///