Instead of adding a third button, what about having just the two
buttons "User templates" and "global templates" (or some similar
naming)? I am not sure that "Documents" is useful.

In this new version of the patch, I removed the "Documents" button
for the "New from template" dialog, but keep it for the "Save as" dialog.
The "Save as" dialog may need it. Now the "Save as" dialog has 3
buttons, "New from template" has 2.

And I name the 2 template-related buttons as "System templates"
and "User templates", because the "Preference" dialog uses
"System files" and "User files" to name the two buttons for
switching between the two dirs.

However, the template dir is different a little bit. It can be
configured in Preference. I don't know how many users
use that config -- I personally do not use it, and don't
think it's useful. As we have many users, it may different
for others. Currently the "System templates" means
the dir configured by the user, and the "User templates"
is the dir created by the configure script. It's somehow
not very good, if the user really configure the dir.
Better way may be, "System templates" refers to
the dir in LyX install dir, "User templates" refers to
the dir configured. But it may annoy old users, because we need to change the default value for
this configure, from refering to the dir in LyX install
dir to refering to the dir created by configure script.

BTW, do you think "System templates" button is useful
for the "Save as" dialog? Is it supposed that the user
should not write anything in the LyX install dir. If so,
it may be removed, and all the support code for the
third button.


--Hangzai

JMarc

Attachment: thirdButton2.diff
Description: Binary data

Reply via email to