Re: [Evolution-hackers] Archive button - new feature

2012-03-28 Thread David Roguin
On Thu, Mar 22, 2012 at 5:31 PM, Matthew Barnes mbar...@redhat.com wrote:
 On Thu, 2012-03-22 at 17:17 -0300, David Roguin wrote:
 Yes, it will only show for gmail accounts. On a second thought it
 could provide a shortcut to move the emails to any specific (user
 choosen) folder

 I'm in favor of making it a generic move message to pre-defined folder
 action, automatically configured as All Mail for GMail/IMAP accounts.

 Choosing the designated archive folder would fit nicely in the
 Special Folders section of the Account Editor window, perhaps with a
 check box for users who prefer not to manage their mail like that.

Ok, it sounds great.
I have one question then, I was coding this functionality as an
extension, is it possible to add the archive folder option into the
special folders section with an extension?

-- 
David
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Archive button - new feature

2012-03-28 Thread Matthew Barnes
On Wed, 2012-03-28 at 12:17 -0300, David Roguin wrote:
 Ok, it sounds great.
 I have one question then, I was coding this functionality as an
 extension, is it possible to add the archive folder option into the
 special folders section with an extension?

At present, no.  But I've completely rewritten the account editor on a
branch I'm hoping to merge during 3.5, and I can easily add a hook for
adding your button from an extension.

What you'll wind up doing is writing another EExtension subclass that
targets this class, which is not yet in 'master' branch:

http://git.gnome.org/browse/evolution/tree/mail/e-mail-config-defaults-page.h?h=account-mgmt

Then I'll add a new function to that class for you to call to append a
new button.  Not sure exactly what it will look like yet.

Matthew Barnes


___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Archive button - new feature

2012-03-22 Thread Matthew Barnes
On Thu, 2012-03-22 at 16:43 -0300, David Roguin wrote:
 I've been working on adding a button that mimics the functionality of
 the Archive button of a gmail account. If you ever used gmail from the
 web client you know what I'm talking about, for the rest: it's a
 button that moves the selected email to the 'All mail' folder.

Of course the All Mail folder is specific to GMail/IMAP.  So is this
button only shown for GMail/IMAP accounts?  If not, what does it do for
other account types or non-GMail IMAP accounts?

Matthew Barnes

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers