Commit Graph

13177 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
36481c2744 Fix bug 3799.
* src/LyXAction.cpp:
	* src/lfuns.h: remove LFUN_TOOLBAR_TOGGLE_STATE.

	* src/LyXFunc.cpp (getStatus, dispatch): merge LFUN_TOOLBAR_TOGGLE
	and LFUN_TOOLBAR_TOGGLE_STATE. Add an informational message after 
	dispatch.

	* src/frontends/LyXView.cpp (toggleToolbarState):
	* src/frontends/Toolbars.cpp (toggleToolbarState): add allowauto 
	parameter. 

	* src/MenuBackend.cpp (expandToolbars): adapt.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18690 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-06 13:52:31 +00:00
Jean-Marc Lasgouttes
087e9eb578 * qt4/FileDialog.cpp (save): disable overwrite confirmation with
native file dialogs (bug 3818)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18689 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-06 12:19:48 +00:00
Bo Peng
3175ee9c0d Add listings parameter linerange, new in listings 1.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18688 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-06 02:03:16 +00:00
Bo Peng
276f6fcde5 ?xxx show all parameters containing xxx in InsetListingsParams, remove all_param_names_ from ParValidator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18687 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 22:08:43 +00:00
Uwe Stöhr
221b6a8452 clean up the CV document class layouts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18686 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 22:07:15 +00:00
Uwe Stöhr
bd380926a0 - add Farsi splash.lyx
- reordering SCons entries

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18685 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 21:31:39 +00:00
Bernhard Roider
90f2bbe012 Fix crash with multiple windows: Disconnect the Dialog::hideSlot signal for a deleted Dialog instance.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18684 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 19:02:06 +00:00
Bo Peng
8aa6a50e69 remove pit from addToToc definition in Inset.h, as reminded by Andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18683 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 18:58:07 +00:00
Richard Heck
590e76e591 Make non-spooled printing recognize printer given in print dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18682 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 17:42:01 +00:00
Richard Heck
cbcfee4fcc Forgot to fix tab order at 18678.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18681 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 17:25:03 +00:00
Bo Peng
d3e30f8d9b addToToc, pass parent ParConstIterator, fix bug 3711
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18680 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 17:24:11 +00:00
Richard Heck
4fb4c517fd Add a check for the evince viewer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18679 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 17:23:09 +00:00
Richard Heck
a83a999c72 Updates to printer preference dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18678 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 15:19:13 +00:00
Jean-Marc Lasgouttes
5f5656f368 update from Pavel Sanda
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18677 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 09:55:49 +00:00
Georg Baum
05f882271d * src/tex2lyx/text.cpp
(parse_box): Fix default height value (from Micha Feigin)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18675 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-05 07:01:47 +00:00
Uwe Stöhr
abab358ff6 installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18674 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 21:25:10 +00:00
Uwe Stöhr
d9c6ede4cc declarate zh.po to SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18673 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 21:18:21 +00:00
Bo Peng
23c478f0bc Remove uplicate entries in zh.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18672 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 20:35:19 +00:00
Uwe Stöhr
fa7c846c85 Tutorial.lyx: fix a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18671 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 20:11:44 +00:00
Stefan Schimanski
cc8206297a * indentation corrected
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18670 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 20:10:23 +00:00
Michael Schmitt
5104ec2717 * po/de.po: updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18669 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 18:42:21 +00:00
Stefan Schimanski
aa64f8da68 * Make the selection drawing algorithm in Text aware of RTL and LTR mixed in a paragraph
(fixes bug 3550: Selection in mixed RTL-LTR paragraphs is broken)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18668 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 18:41:56 +00:00
Stefan Schimanski
de15c267e3 * Added another isRTL variant which takes a CursorSlice
* Use the isRTL information to compute the cursor position correctly around
  insets in RTL text. Those insets are positioned to the right of the cursor position
  in the text.
  (fixes issue (3) of bug 3551: Cursor movement in and around insets in RTL paragraphs)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18667 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 18:40:06 +00:00
Stefan Schimanski
6d67f77467 * stay in front of insets/segment on RTL/LTR boundary
(fixes bug 3754: Cursor movement at RTL-LTR boundary)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18666 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 18:35:03 +00:00
Michael Schmitt
d2b9ba811e * po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18665 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 18:33:12 +00:00
Michael Schmitt
00925e923b * lib/layout/ijmpd.layout: remove yet another trailing space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18664 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 18:28:39 +00:00
Michael Schmitt
fe300cf3f7 * lib/layouts/ijmpc.layout:
* lib/layouts/beamer.layout: remove trailing spaces


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18663 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 18:26:06 +00:00
Bo Peng
332ae5e2f6 Add placeholders for Chinese translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18662 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 18:16:22 +00:00
Michael Schmitt
16039fbd80 * po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18661 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 18:08:12 +00:00
Michael Schmitt
f4f593495c * lib/layouts/beamer.layout: harmonize LabelSeps as suggested by
Jürgen; "xx" looks best


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18660 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 18:00:03 +00:00
Michael Schmitt
de3b6cc172 * lib/layouts/beamer.layout: cleanup labels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18659 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 17:48:31 +00:00
Jürgen Spitzmüller
fc9f0d3d0c * src/frontends/qt4/ui/TocUi.ui:
- remove unneeded and irritating label.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18658 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 17:40:41 +00:00
Richard Heck
558f51f5e7 Fix bug 3701: Allow buffer dependent dialogs to remain open when buffer is closed, so long as there is still an open buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18651 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 14:09:51 +00:00
Richard Heck
98fad8e694 Fix bug 3800: Relabel old Adapt Output button and fix resulting problem with spacing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18650 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 14:07:53 +00:00
Richard Heck
793854f7ac Fix bug 3794: Disable LFUN_WINDOW_CLOSE if only one window is open.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18649 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 13:43:58 +00:00
Jean-Marc Lasgouttes
c54a01a194 * src/frontends/qt4/TocWidget.cpp (updateGui): do not call getGUIName, since
this is already what we have; fixes a crash (bug 3793)

	* src/frontends/controllers/ControlToc.h: make getGUIName private

	* src/frontends/controllers/ControlToc.cpp (getGUIName): handle 
	correctly the lists of floats.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18648 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 13:27:27 +00:00
Stefan Schimanski
7990a764dc * workaround for Qt not selecting a Times font on Mac with Qt 4.3.0. As soon as the
bug is fixed in Qt an upper version bound should be added.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18647 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 12:10:30 +00:00
Jürgen Spitzmüller
365a8f8180 * lib/doc/clipart/escher-lsd.eps:
* lib/doc/clipart/mobius.eps:
	- fix broken image files.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18646 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 07:52:59 +00:00
Stefan Schimanski
7429f0c2bf * draw cursor in the right shape (L_SHAPE, REVERSED_L_SHAPE or the normal one)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18645 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 06:21:33 +00:00
Uwe Stöhr
53eb1f7518 installer: fix a small bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18644 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 01:05:38 +00:00
Uwe Stöhr
afdbde2758 installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18643 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-04 00:13:58 +00:00
Michael Schmitt
92d81d6a0f src/frontends/qt4/ui/ListingsUi.ui: better label text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18642 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-03 16:17:18 +00:00
Michael Schmitt
8f3f91edf5 * po/de.po: update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18640 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-03 13:55:59 +00:00
Michael Schmitt
445864b544 * po/*.po: remerge (the previous update was incomplete)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18639 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-03 10:41:11 +00:00
Michael Schmitt
614d35b401 * po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18638 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-03 10:37:33 +00:00
Michael Schmitt
b0bc820ff2 * po/ca.po: update by Joan Montané
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18637 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-03 10:30:13 +00:00
Michael Schmitt
87d27e7aff * po/nb.po: update by Helge Hafting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18636 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-03 09:11:57 +00:00
Michael Schmitt
70dce83dee * src/insets/InsetListingsParams.cpp: fix user message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18635 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-03 06:30:08 +00:00
Richard Heck
ce00f4a0ac Fix for bugs 3741 and 3756. Here's what it does:
* In the "Available" list, double clicking or hitting Enter adds a
        citation. Hitting Ctrl-Enter adds the citation and closes the
        dialog. Previously, Enter did what Ctrl-Enter now does if there
        was no other citation already selected and double clicking would
        close the dialog after adding the citation.
      * In the "Selected" list, Delete and Backspace delete the
        selection.
        Ctrl-Delete and Ctrl-Backspace clear the whole list.

Thanks to Abdel, Andre, and Lars for comments and help.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18633 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-02 15:48:21 +00:00
Bo Peng
9506a284d1 Fix bug 3363: mark buffer dirty after middle button paste in plain text and table; set cursor at the end of pasted text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18632 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-02 13:34:06 +00:00