Hello all,
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:
$ bzr diff
=== modified file 'postler/postler-accounts.vala'
--- postler/postler-accounts.vala 2011-03-01 12:39:23 +0000
+++ postler/postler-accounts.vala 2011-03-05 09:48:10 +0000
@@ -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.length, FolderType.SENT, 1 },
- { "Drafts", null, N_("Drafts"), drafts_folders, drafts_folders.length,
FolderType.DRAFTS, 2 },
- { "Queue", STOCK_OUTBOX, N_("Outbox"), queue_folders,
queue_folders.length, FolderType.QUEUE, 3 },
- { "Trash", STOCK_USER_TRASH, N_("Trash"), trash_folders,
trash_folders.length, FolderType.TRASH, 4 },
- { "Archive", STOCK_ARCHIVE, N_("Archive"), archive_folders,
archive_folders.length, FolderType.ARCHIVE, 5 },
+ { "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.length,
FolderType.JUNK, 6 },
+ { null, null, N_("Junk"), junk_folders, 0, FolderType.JUNK, 6 },
{ null, Gtk.STOCK_DIRECTORY, null, null, 0, FolderType.GENERIC, 7 }
};
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 ;)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/723282
Title:
Building fails on postler-accounts.vala
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs