[Evolution-hackers] listening to signals from the message list

2012-03-06 Thread David Roguin
Hi,

I'm writing a simple evolution extension. I've arleady have access to
the mail shell_window, but the problem I have is I can't find a way to
receive an event whenever the user select a message from the mail
list.
I've unsuccesfully tried to look for a GtkTreeView on the ui_manager
and I couldn't find anything in the EShell* docs.

If anyone could point me into the right direction I'd be grateful.

Cheers!
-- 
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] listening to signals from the message list

2012-03-07 Thread David Roguin
On Tue, Mar 6, 2012 at 6:57 PM, Matthew Barnes mbar...@redhat.com wrote:
 On Tue, 2012-03-06 at 17:06 -0300, David Roguin wrote:
 I'm writing a simple evolution extension. I've arleady have access to
 the mail shell_window, but the problem I have is I can't find a way to
 receive an event whenever the user select a message from the mail
 list.
 I've unsuccesfully tried to look for a GtkTreeView on the ui_manager
 and I couldn't find anything in the EShell* docs.

 If anyone could point me into the right direction I'd be grateful.

 If you need the selected CamelMimeMessage as shown in the preview pane,
 I recently added an EMailReader::message-loaded signal that you can tap.

 See the mdn module for an example of connecting to this signal:
 http://git.gnome.org/browse/evolution/tree/modules/mdn/evolution-mdn.c

 Hope this helps,
 Matthew Barnes


It helped, but not quite the way I needed. Maybe I should explain a
little more what I am doing. First, I need to get the EShellWindow
because I'm adding a new button to the toolbar (Maybe there's another
way to do it, but using the UiManager is the only way I know). And
then I want to know when the user is selecting a message from the
message list so I know to which message the user is working on.

By the way, do you know how the message list is called?

Thanks!

-- 
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


[Evolution-hackers] Archive button - new feature

2012-03-22 Thread David Roguin
Hi,

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.

The code is working but it's very rough and not configurable at all.

But before continuing work on that I want to know if the evolution
team thinks this feature could be useful for someone else, if so, I'll
gladly start polishing it and hear how should I start integrating it
with the overall evolution design.

Thanks,
-- 
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 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


[Evolution-hackers] moving messages is visually slow

2012-04-17 Thread David Roguin
Hi,

I've noticed that moving messages takes considerably more time than
deleting them. Visually when I delete a message I see the item
disappear almost instantly, I'd like to achieve the same thing when I
move a message.

Is there any way to achieve this? Maybe hiding the selected items and
then move them? I couldn't find anything related to hiding messages
(except a boolean for hiding the deleted ones)

Cheers!

-- 
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