lyx_mirror/src
Jean-Marc Lasgouttes 78aa7c6987 Fix bugs 1720 (almost) and 2877
* src/funcrequest.h: split UI enum into MENU and TOOLBAR

	* src/lyxfunc.C (getStatus): disable menu entries that need a
	buffer when window does not have focus (bug 1720)
	(dispatch, sendDispatchMessage): properly redraw toolbar after each 
	action (bug 2877).

	* src/frontends/Toolbars.C (layoutSelected):
	* src/MenuBackend.C (MenuItem):
	* src/ToolbarBackend.C (add): adapt to FuncRequest change.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15825 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-09 14:56:57 +00:00
..
client Another compile fix. I don't understand why it worked for me. 2006-11-06 15:31:27 +00:00
frontends Fix bugs 1720 (almost) and 2877 2006-11-09 14:56:57 +00:00
graphics move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insets * src/insets/insetbox.C (InsetBox::doDispatch): remove annoying debug message 2006-11-09 14:45:53 +00:00
mathed * src/mathed/InsetMathSymbol.C (metrics): remove broken mac workaround 2006-11-09 14:47:56 +00:00
support start lyx namespace after header files 2006-11-03 12:36:51 +00:00
tex2lyx Resolve link problems of tex2lyx and client by removing the extra gettext.h 2006-11-04 18:12:57 +00:00
aspell_local.h MSVC compilation fix. 2006-10-21 07:26:07 +00:00
aspell.C MSVC compilation fix. 2006-10-21 07:26:07 +00:00
author.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
author.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Bidi.C move the only remaining function in lyxrow_func to paragraph 2006-10-21 07:24:11 +00:00
Bidi.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
boost.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
box.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
box.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
BranchList.C Fix problem with non-ascii branch names by converting more stuff to 2006-11-03 15:16:45 +00:00
BranchList.h Fix problem with non-ascii branch names by converting more stuff to 2006-11-03 15:16:45 +00:00
buffer_funcs.C Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
buffer_funcs.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
buffer.C New nomenclature inset from Ugras 2006-11-04 17:55:36 +00:00
buffer.h Fix singlePar update. This should result in a nice speed improvment for Mac. 2006-11-03 10:32:30 +00:00
bufferlist.C session: rename some functions 2006-10-29 20:01:00 +00:00
bufferlist.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
bufferparams.C use docstring for textclass preambles 2006-11-08 17:22:44 +00:00
bufferparams.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
bufferview_funcs.C * getPos(): add const attribute to BufferView. 2006-11-08 11:38:51 +00:00
bufferview_funcs.h * getPos(): add const attribute to BufferView. 2006-11-08 11:38:51 +00:00
BufferView.C - Avoid lyxerr[] like the plague. Use if (lyxerr.debugging( ... )) instead. 2006-11-07 21:31:33 +00:00
BufferView.h doxygen update. 2006-11-09 10:10:06 +00:00
Bullet.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Bullet.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
ChangeLog
changes.C change tracking: 2006-10-29 21:48:23 +00:00
changes.h change tracking: 2006-10-29 21:48:23 +00:00
Chktex.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Chktex.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
chset.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
chset.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Color.C
Color.h
converter.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
converter.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
coordcache.C Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
coordcache.h Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
counters.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
counters.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
cursor_slice.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
cursor_slice.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
cursor.C Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
cursor.h - rework update handling, make cursor movement faster, 2006-10-22 11:46:36 +00:00
CutAndPaste.C * CutAndPaste.C: simplify copySelectionHelper and 2006-11-07 18:27:03 +00:00
CutAndPaste.h use more unicode in math 2006-10-22 10:15:23 +00:00
debug.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
debug.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
DepTable.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
DepTable.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
dimension.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
dimension.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
dispatchresult.h - rework update handling, make cursor movement faster, 2006-10-22 11:46:36 +00:00
dociterator.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
dociterator.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
encoding.C Remove unused symbol encoding 2006-11-05 20:13:22 +00:00
encoding.h Remove unused symbol encoding 2006-11-05 20:13:22 +00:00
errorlist.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
errorlist.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
exporter.C Restore inputenc support 2006-10-26 15:01:45 +00:00
exporter.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
factory.C New nomenclature inset from Ugras 2006-11-04 17:55:36 +00:00
factory.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Floating.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Floating.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
FloatList.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
FloatList.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
FontIterator.C Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
FontIterator.h Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
format.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
format.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
funcrequest.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
funcrequest.h Fix bugs 1720 (almost) and 2877 2006-11-09 14:56:57 +00:00
FuncStatus.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
FuncStatus.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
gettext.C Resolve link problems of tex2lyx and client by removing the extra gettext.h 2006-11-04 18:12:57 +00:00
gettext.h Resolve link problems of tex2lyx and client by removing the extra gettext.h 2006-11-04 18:12:57 +00:00
graph.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
graph.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
importer.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
importer.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetiterator.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
insetiterator.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
InsetList.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
InsetList.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
intl.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
intl.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
ispell.C Compile fix 2006-10-22 15:38:21 +00:00
ispell.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
kbmap.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
kbmap.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
kbsequence.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
kbsequence.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
language.C Fix thinko in Buffer::makeLaTeXFile 2006-11-03 10:35:41 +00:00
language.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
LaTeX.C New nomenclature inset from Ugras 2006-11-04 17:55:36 +00:00
LaTeX.h New nomenclature inset from Ugras 2006-11-04 17:55:36 +00:00
LaTeXFeatures.C use docstring for textclass preambles 2006-11-08 17:22:44 +00:00
LaTeXFeatures.h use docstring for textclass preambles 2006-11-08 17:22:44 +00:00
layout.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
LColor.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
LColor.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lengthcommon.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lengthcommon.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lfuns.h New nomenclature inset from Ugras 2006-11-04 17:55:36 +00:00
lyx_cb.C Fix crash when reconfigure is called without Buffer nor BufferView. 2006-11-01 13:14:21 +00:00
lyx_cb.h Fix crash when reconfigure is called without Buffer nor BufferView. 2006-11-01 13:14:21 +00:00
lyx_main.C session: rename some functions 2006-10-29 20:01:00 +00:00
lyx_main.h * Gui.h: new closeAll() pure virtual method. 2006-10-24 15:01:07 +00:00
lyx_sty.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyx_sty.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
LyXAction.C New nomenclature inset from Ugras 2006-11-04 17:55:36 +00:00
LyXAction.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxfind.C * src/lyxfind.C: 2006-10-23 16:25:29 +00:00
lyxfind.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxfont.C Fix generation of invalid LyX files 2006-11-01 09:38:54 +00:00
lyxfont.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxfunc.C Fix bugs 1720 (almost) and 2877 2006-11-09 14:56:57 +00:00
lyxfunc.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxgluelength.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxgluelength.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxlayout_ptr_fwd.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxlayout.C use docstring for textclass preambles 2006-11-08 17:22:44 +00:00
lyxlayout.h use docstring for textclass preambles 2006-11-08 17:22:44 +00:00
lyxlength.C More unicode fixes for docbook. 2006-10-21 19:40:29 +00:00
lyxlength.h More unicode fixes for docbook. 2006-10-21 19:40:29 +00:00
lyxlex_pimpl.C * LyXLex::Pimpl::buff is now a string. 2006-10-28 15:16:30 +00:00
lyxlex_pimpl.h * LyXLex::Pimpl::buff is now a string. 2006-10-28 15:16:30 +00:00
lyxlex.C Fix problem with non-ascii branch names by converting more stuff to 2006-11-03 15:16:45 +00:00
lyxlex.h Fix problem with non-ascii branch names by converting more stuff to 2006-11-03 15:16:45 +00:00
lyxrc.C Changed default date formatting string to be compatible with both Windows/UNIX. This solves crashes on Windows systems. 2006-10-25 10:28:29 +00:00
lyxrc.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxrow.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxrow.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxserver.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxserver.h move #endif to the end of the file 2006-10-23 14:24:04 +00:00
lyxsocket.C put back the :: global namespace identifiers. 2006-10-21 08:30:58 +00:00
lyxsocket.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxtext.h Micro-optimisation, avoid rightMargin() call in two loop. 2006-11-08 11:27:06 +00:00
lyxtextclass.C use docstring for textclass preambles 2006-11-08 17:22:44 +00:00
lyxtextclass.h use docstring for textclass preambles 2006-11-08 17:22:44 +00:00
lyxtextclasslist.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxtextclasslist.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxvc.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
lyxvc.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
main.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Makefile.am The Gtk removal from trunk. 2006-10-22 18:05:16 +00:00
MenuBackend.C Fix bugs 1720 (almost) and 2877 2006-11-09 14:56:57 +00:00
MenuBackend.h Session/Toolbars: 2006-11-02 16:01:36 +00:00
messages.C * messages.C: use lyxerr[Debug::DEBUG] rather than lyxerr 2006-10-31 20:26:25 +00:00
messages.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
metricsinfo.C use more unicode in math 2006-10-22 10:15:23 +00:00
metricsinfo.h use more unicode in math 2006-10-22 10:15:23 +00:00
mover.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
mover.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
output_docbook.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
output_docbook.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
output_latex.C add comment about ugly construct 2006-10-29 16:43:18 +00:00
output_latex.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
output_plaintext.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
output_plaintext.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
output.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
output.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
outputparams.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
outputparams.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
paper.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
paragraph_funcs.C change tracking: 2006-11-05 19:00:53 +00:00
paragraph_funcs.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
paragraph_pimpl.C * src/paragraph.h: 2006-11-01 17:51:41 +00:00
paragraph_pimpl.h * src/paragraph.h: 2006-11-01 17:51:41 +00:00
paragraph.C * src/paragraph.h: 2006-11-01 17:51:41 +00:00
paragraph.h * src/paragraph.h: 2006-11-01 17:51:41 +00:00
ParagraphList_fwd.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
ParagraphList.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
ParagraphParameters.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
ParagraphParameters.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
pariterator.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
pariterator.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
pch.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
PrinterParams.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
PrinterParams.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
pspell.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
pspell.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
RowList_fwd.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
rowpainter.C - Avoid lyxerr[] like the plague. Use if (lyxerr.debugging( ... )) instead. 2006-11-07 21:31:33 +00:00
rowpainter.h simplify paintText() interface. 2006-10-28 09:59:43 +00:00
Sectioning.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Sectioning.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
session.C Session/Toolbars: 2006-11-02 16:01:36 +00:00
session.h fix gcc warnings 2006-11-04 09:47:14 +00:00
sgml.C fix indentation 2006-10-22 11:35:16 +00:00
sgml.h some compile fixes, more to be expected 2006-10-22 11:00:04 +00:00
Spacing.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Spacing.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
SpellBase.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
SpellBase.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
stamp-h.in
tabular.C * src/tabular.C: remove change tracking FIXMEs; the code looks OK 2006-10-31 20:58:12 +00:00
tabular.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
tex-accent.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
tex-accent.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
tex-strings.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
tex-strings.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
texrow.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
texrow.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
text2.C a small cleanup, a tiny optimization and a comment. 2006-11-09 10:13:13 +00:00
text3.C New nomenclature inset from Ugras 2006-11-04 17:55:36 +00:00
text.C Micro-optimisation, avoid rightMargin() call in two loop. 2006-11-08 11:27:06 +00:00
Thesaurus.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Thesaurus.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
toc.C small cosmetic cleanups: 2006-10-30 14:39:05 +00:00
toc.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
TocBackend.C small cosmetic cleanups: 2006-10-30 14:39:05 +00:00
TocBackend.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
ToolbarBackend.C Fix bugs 1720 (almost) and 2877 2006-11-09 14:56:57 +00:00
ToolbarBackend.h Session/Toolbars: 2006-11-02 16:01:36 +00:00
trans_decl.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
trans_mgr.C Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
trans_mgr.h Move BufferView cached pointer out of LyXText: 2006-10-30 12:45:33 +00:00
trans.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
trans.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
undo.C use more unicode in math 2006-10-22 10:15:23 +00:00
undo.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
UpdateFlags.h - rework update handling, make cursor movement faster, 2006-10-22 11:46:36 +00:00
Variables.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
Variables.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
vc-backend.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
vc-backend.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
version.C.in
version.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
vspace.C move everything into namespace lyx 2006-10-21 00:16:43 +00:00
vspace.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00
WordLangTuple.h move everything into namespace lyx 2006-10-21 00:16:43 +00:00