+2008-11-28 [colin] 3.6.1cvs50
+
+ * src/mainwindow.c
+ Fix account selection in Mailing list
+ menu
+
2008-11-28 [paul] 3.6.1cvs49
* po/Makefile.in.in
( cvs diff -u -r 1.60.2.48 -r 1.60.2.49 src/filtering.c; cvs diff -u -r 1.75.2.62 -r 1.75.2.63 src/matcher.c; ) > 3.6.1cvs47.patchset
( cvs diff -u -r 1.1.2.57 -r 1.1.2.58 src/plugins/pgpcore/sgpgme.c; ) > 3.6.1cvs48.patchset
( cvs diff -u -r 1.6.2.9 -r 1.6.2.10 po/Makefile.in.in; ) > 3.6.1cvs49.patchset
+( cvs diff -u -r 1.274.2.291 -r 1.274.2.292 src/mainwindow.c; ) > 3.6.1cvs50.patchset
static void mailing_list_compose (GtkWidget *w, gpointer *data)
{
const gchar *mailto;
+ PrefsAccount *account = NULL;
+ FolderItem *folder_item = NULL;
mailto = gtk_label_get_text(GTK_LABEL (gtk_bin_get_child(GTK_BIN((w)))));
+ if (mainwindow_get_mainwindow()) {
+ folder_item = mainwindow_get_mainwindow()->summaryview->folder_item;
+ if (folder_item && folder_item->prefs && folder_item->prefs->enable_default_account)
+ account = account_find_from_id(folder_item->prefs->default_account);
+ if (folder_item && !account)
+ account = account_find_from_item(folder_item);
+ }
if (mailto)
- compose_new(NULL, mailto+7, NULL);
+ compose_new_with_folderitem(account, folder_item, mailto+7);
}
static void mailing_list_open_uri (GtkWidget *w, gpointer *data)