After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 681353 - Use per-account Templates folder setting
Use per-account Templates folder setting
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.4.x (obsolete)
Other All
: Normal enhancement
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 759678 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-08-07 07:13 UTC by Ivan
Modified: 2016-05-04 14:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ivan 2012-08-07 07:13:39 UTC
It could be useful to associate template folder with selected mail account because of long different template common list, that makes harder to search a required template
Comment 1 Milan Crha 2016-01-29 12:46:47 UTC
*** Bug 759678 has been marked as a duplicate of this bug. ***
Comment 2 Milan Crha 2016-01-29 12:50:18 UTC
Thanks for a bug report. Even the folder can be saved in settings, it's not used fully in the code. There is missing:
a) a place to select the Templates folder for the account (in Defaults tab)
b) use this account template folder to populate the popu-menu and
   to compose with the message from that particular account
c) 'Save as Template' should choose the Templates folder based on the From
Comment 3 Milan Crha 2016-05-04 14:21:04 UTC
The a) and the c) from the previous comment were not that hard, but the b), the menu populate from various accounts, was a challenge. I tried to make the code smart and not rebuild the menu often - actually rebuild it as less times as possible, similarly as it was done before, only more generic, due to multiple mail accounts being involved.

The popup menu in Templates also changed. If there are more accounts with available templates, then the first level is the account name to which the template belongs, otherwise only the template messages, with eventual subfolders, are shown. This has also the effect that if there are none messages in the On This Computer/Templates and only one (remote) account is set with a templates folder, then the first level under the Templates popup menu are direct messages from the other account, without sublevel with account names. I'm not sure whether it makes sense what I wrote, but once you'll see it in action you may see what I mean.

Created commit 10b70ae in evo master (3.21.2+)