Georg Baum wrote:
Paul A. Rubin wrote:
I put a copy of stdtoolbars.ui in the ui folder under my home directory,
and added the following lines to the "Extra" toolbar (immediately after
the thesaurus entry):
Separator
Item "View DVI" "buffer-view_dvi"
Item "Update DVI" "buffer-update_dvi"
That looks OK.
The results were:
1. The normal environment select box at the left of the main toolbar is
still there but now has no content.
2. A separator was added after the thesaurus button.
3. Following the separator, two more select boxes were added (with no
tool tips). The first one is empty. The second one contains the normal
list of environments.
Note that I did not delete stdtoolbars.ui from the Resources\ui folder.
This occurs with both LyX 1.4.2 and LyX 1.4.3, under Win XP.
Looks like a bug. What happens if you rename the modified file and enter the
new name in tools->preferences?
Does this behaviour depend on the size of the LyX window?
The changes are in stdtoolbars.ui, not in default.ui, so I can't change
it in Tools->Preferences. However, I load a modified copy of default.ui
in my personal ui folder, so I renamed the hacked file to partoolbars.ui
and altered my default.ui to load that rather than stdtoolbars.ui. The
bug repeated.
The behavior is not affected by window size, other than the extra
toolbar being cut off if the window is shrunk. (At its default
"windowed" size, I get the new separator and part of the new (empty)
select box; full screen, I get both select boxes.)
I just now repeated the experiment with LyX 1.4.1 and got the same results.
/Paul