Georg Baum c9c6ed0b7f Split clipboard and X selection
* src/LyXAction.C
	(LyXAction::init): handle new LFUN_CLIPBOARD_PASTE

	* src/insets/insettabular.C
	(InsetTabular::doDispatch): ditto

	* src/insets/insetbox.C
	(InsetBox::doDispatch): ditto

	* src/insets/insetert.C
	(InsetERT::doDispatch): ditto
	(InsetERT::getStatus): ditto

	* src/insets/insetcharstyle.C
	(InsetCharStyle::doDispatch): ditto

	* src/BufferView_pimpl.C
	(BufferView::Pimpl::selectionRequest): stuff selection, not clipboard

	* src/mathed/math_nestinset.C
	(MathNestInset::lfunMousePress): get stuff selection, not clipboard
	(MathNestInset::lfunMouseRelease): clipboard -> selection in
	commented code

	* src/CutAndPaste.C
	(cutSelection): ditto

	* src/frontends/{qt3,gtk}/GuiImplementation.C
	(GuiImplementation::newWorkArea): create new selection, not clipboard,
	since the clipboard is now an object
	(GuiImplementation::destroyWorkArea): destroy selection, not clipboard

	* src/frontends/{qt4,qt3,gtk}/GuiSelection.h: new, copied from
	GuiClipboard.h

	* src/frontends/{qt4,qt3,gtk}/GuiSelection.C: new, copied from
	GuiClipboard.C

	* src/frontends/{qt3,gtk}/GuiImplementation.h
	(selection): new accessor for selection_
	(selection_): new, the global selection object

	* src/frontends/{qt4,qt3,gtk}/Makefile.am: add GuiSelection.C and
	GuiSelection.h

	* src/frontends/{qt4,qt3,gtk}/GuiClipboard.C
	(GuiClipboard::get): return clipboard, not selection
	(GuiClipboard::put): stuff clipboard, not selection

	* src/frontends/{qt4,qt3,gtk}/GuiClipboard.h
	(haveSelection): remove (this is now in GuiSelection)

	* src/frontends/{qt3,gtk}/GuiClipboard.h
	(old_work_area_): remove, since it is not needed anymore

	* src/frontends/gtk/ghelpers.C
	(getGTKStockIcon): handle LFUN_CLIPBOARD_PASTE

	* src/frontends/Clipboard.h
	(haveSelection): remove (this is now in Selection)

	* src/frontends/qt4/GuiImplementation.[Ch]
	(GuiImplementation::selection): new accessor for selection_

	* src/frontends/Gui.h
	(selection): New accessor for the global selection object

	* src/frontends/Selection.h; new, copied from Clipboard.h

	* src/frontends/Makefile.am: add Selection.h

	* src/text3.C
	(various): s/clipboard().haveSelection/selection().haveSelection/

	(LyXText::dispatch): handle LFUN_CLIPBOARD_PASTE
	(LyXText::getStatus): ditto

	* src/lfuns.h: new lfun LFUN_CLIPBOARD_PASTE

	* lib/ui/stdmenus.ui: add new lfun LFUN_CLIPBOARD_PASTE


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14408 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-10 11:32:25 +00:00
..
2006-07-06 14:27:46 +00:00
2006-07-10 11:32:25 +00:00
2006-07-10 11:32:25 +00:00
2006-07-10 11:32:25 +00:00
2005-04-26 10:30:24 +00:00
2006-04-16 14:19:25 +00:00
2006-07-03 19:13:56 +00:00
2006-01-01 20:28:05 +00:00
2006-07-08 22:06:50 +00:00
2006-07-08 22:55:22 +00:00
2006-07-08 22:55:22 +00:00
2004-10-05 10:11:42 +00:00
2006-07-03 19:13:56 +00:00
2006-05-08 20:30:52 +00:00
2006-05-08 20:30:52 +00:00
2006-04-05 23:56:29 +00:00
2006-04-05 23:56:29 +00:00
2006-07-08 20:40:04 +00:00
2006-07-08 20:40:04 +00:00
2006-01-19 15:49:21 +00:00
2006-07-10 11:32:25 +00:00
2006-04-05 23:56:29 +00:00
2004-03-25 09:16:36 +00:00
2004-01-26 10:13:15 +00:00
2004-10-05 10:11:42 +00:00
2004-11-16 20:41:38 +00:00
2005-07-18 12:13:32 +00:00
2006-06-18 10:51:59 +00:00
2006-05-20 12:03:40 +00:00
2004-11-26 14:52:54 +00:00
2005-04-21 13:03:45 +00:00
2005-07-17 11:58:54 +00:00
2006-02-03 21:47:25 +00:00
2006-04-13 12:18:42 +00:00
2006-05-29 15:51:12 +00:00
2006-07-03 19:13:56 +00:00
2006-04-05 23:56:29 +00:00
2006-06-03 16:46:27 +00:00
2006-06-03 16:46:27 +00:00
2006-07-10 11:32:25 +00:00
2006-07-05 17:01:26 +00:00
2006-07-05 17:01:26 +00:00
2004-10-05 10:11:42 +00:00
2004-04-26 11:05:19 +00:00
2006-07-10 11:32:25 +00:00
2005-10-07 12:00:41 +00:00
2006-05-08 20:30:52 +00:00
2004-01-15 17:34:44 +00:00
2005-07-16 18:25:58 +00:00
2006-07-08 22:06:50 +00:00
2006-04-13 12:18:42 +00:00
2004-12-29 15:38:48 +00:00
2005-01-27 21:05:44 +00:00
2005-01-27 21:05:44 +00:00
2006-07-09 17:57:15 +00:00
2006-07-09 17:57:15 +00:00
2004-02-13 13:51:12 +00:00
2004-02-13 13:51:12 +00:00
2004-11-30 01:59:49 +00:00
2005-04-26 11:12:20 +00:00
2006-05-14 17:00:53 +00:00
2006-05-27 13:39:11 +00:00
2004-10-05 10:11:42 +00:00
2006-07-05 17:01:26 +00:00
2006-07-05 17:01:26 +00:00
2003-11-03 17:47:28 +00:00
2006-07-05 17:01:26 +00:00
2006-07-09 17:48:34 +00:00
2006-04-05 23:56:29 +00:00
2006-03-23 20:11:06 +00:00
2006-03-23 20:11:06 +00:00
2006-03-23 20:11:06 +00:00
2006-03-23 20:11:06 +00:00
2005-07-15 19:10:25 +00:00
2003-11-05 15:29:49 +00:00
2006-05-08 20:30:52 +00:00
2006-03-23 20:11:06 +00:00
2006-05-20 10:35:40 +00:00
2006-05-08 20:30:52 +00:00
2006-06-19 08:10:17 +00:00
2006-05-08 20:30:52 +00:00
2006-03-23 20:11:06 +00:00
2006-03-23 20:11:06 +00:00
2006-03-07 10:02:07 +00:00
2006-07-08 21:16:21 +00:00
2006-07-08 21:16:21 +00:00
2005-01-27 21:05:44 +00:00
2005-01-27 21:05:44 +00:00
2006-07-03 19:13:56 +00:00
2006-07-03 19:13:56 +00:00
2006-07-06 08:18:51 +00:00
2006-07-10 11:32:25 +00:00
2003-11-03 17:47:28 +00:00
2006-04-26 17:43:03 +00:00
2004-04-21 00:19:27 +00:00
2006-03-23 20:11:06 +00:00
2006-04-05 23:56:29 +00:00
2005-12-30 13:46:09 +00:00
2006-01-01 20:28:05 +00:00