[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: Patch: templates for kmail (Bug #1015)
From:       Florian Weber <Florian.Weber () pfaffenhofen ! de>
Date:       2001-08-17 16:58:21
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 14 August 2001 21:19, Ingo Klöcker wrote:

> > - find a way to edit the templates instead of spawning new ones.
> >    Probably with entries in context menu and "Message" main menu
> If you choose "Edit" from the "Message" menu then the template should
> be edited. You should add a new entry to compose a message from a
> template. Something like "New message from template".

The menu entries and stuff are no problem.

But I'm running into some problems with the editing window itself:
Of course, the template editor should look somewhat like the normal composer; 
there's just too much good code not to use it :-)

On the other hand, the template editor has to be a little different:
Most important: instead of "Send now" and "Queue" buttons and menu entries 
there should be "Save template" - I got the opinion that this is quite hard 
to tweak at runtime (the XML-GUI stuff is in the way).

Of course I could hack KMComposerWin into sth. resembling a dialog editor, 
but that would be extremely ugly. Just copying it does not work either.

The ideal solution: a common superclass for composer and template editor. 
This change is so big that I would not like to make it without feedback. And 
to be honest, I think I do net yet understand KMail's structure good enough 
to do it on my own.

Any opinions?

> > - add menu option for instantiating the template
> > - disable reply (also forward?) buttons when in template folder
> IMHO that's not necessary. But the context menu should be similar to
> the context menu shown in the drafts folder.

Well, it's easy to do and makes KMail look good, so it's there already.

Florian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7fU0vIHY1JB8ZhlERAms+AJ0fvcGu90CcUcwvAT9HWzUEumnqrwCfTWN2
KRyKxCVcj6+g1I9so4GXxc0=
=NiLV
-----END PGP SIGNATURE-----
_______________________________________________
Kmail Developers mailing list
Kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic