I'm running Ubuntu natty alpha 3 (with all updates until today), and postler work after a very easy hack ;)
I have modified the postler/postler-accounts.vala file like this:
In short words, I have replaced all collection.length by 0 on the 5th position, and now compilation and installation work.
I have try to use Postler, and it work with my Yahoo account.
I've never used vala, and I did it quickly without searching what's the goal of those .length, but without it works!
Hello all,
I'm running Ubuntu natty alpha 3 (with all updates until today), and postler work after a very easy hack ;) postler- accounts. vala file like this:
I have modified the postler/
$ bzr diff postler- accounts. vala' postler- accounts. vala 2011-03-01 12:39:23 +0000 postler- accounts. vala 2011-03-05 09:48:10 +0000 length, FolderType.SENT, 1 }, folders. length, FolderType.DRAFTS, 2 }, length, FolderType.QUEUE, 3 }, length, FolderType.TRASH, 4 }, folders. length, FolderType.ARCHIVE, 5 }, length, FolderType.JUNK, 6 }, DIRECTORY, null, null, 0, FolderType.GENERIC, 7 }
=== modified file 'postler/
--- postler/
+++ postler/
@@ -68,13 +68,13 @@
index is taken in place of the enum value */
const MailFolder[] localized_folders = {
{ "INBOX", STOCK_INBOX, N_("Inbox"), null, 0, FolderType.INBOX, 0 },
- { "Sent", STOCK_SENT_MAIL, N_("Sent"), sent_folders, sent_folders.
- { "Drafts", null, N_("Drafts"), drafts_folders, drafts_
- { "Queue", STOCK_OUTBOX, N_("Outbox"), queue_folders, queue_folders.
- { "Trash", STOCK_USER_TRASH, N_("Trash"), trash_folders, trash_folders.
- { "Archive", STOCK_ARCHIVE, N_("Archive"), archive_folders, archive_
+ { "Sent", STOCK_SENT_MAIL, N_("Sent"), sent_folders, 0, FolderType.SENT, 1 },
+ { "Drafts", null, N_("Drafts"), drafts_folders, 0, FolderType.DRAFTS, 2 },
+ { "Queue", STOCK_OUTBOX, N_("Outbox"), queue_folders, 0, FolderType.QUEUE, 3 },
+ { "Trash", STOCK_USER_TRASH, N_("Trash"), trash_folders, 0, FolderType.TRASH, 4 },
+ { "Archive", STOCK_ARCHIVE, N_("Archive"), archive_folders, 0, FolderType.ARCHIVE, 5 },
/* i18n: Junk, unsolicited bulk mail, spam */
- { null, null, N_("Junk"), junk_folders, junk_folders.
+ { null, null, N_("Junk"), junk_folders, 0, FolderType.JUNK, 6 },
{ null, Gtk.STOCK_
};
In short words, I have replaced all collection.length by 0 on the 5th position, and now compilation and installation work.
I have try to use Postler, and it work with my Yahoo account.
I've never used vala, and I did it quickly without searching what's the goal of those .length, but without it works!
I hope this will help you to test postler ;)