2007-05-02 [colin] 2.9.1cvs38
authorColin Leroy <colin@colino.net>
Wed, 2 May 2007 17:04:57 +0000 (17:04 +0000)
committerColin Leroy <colin@colino.net>
Wed, 2 May 2007 17:04:57 +0000 (17:04 +0000)
* src/textview.c
Fix bug 1209, 'Clicking on address
in header (mailto uri) selects
default account'. Patch adapted from
G.P. Halkes' patch.

ChangeLog
PATCHSETS
configure.ac
src/textview.c

index 939b102684804a697c72bd94e3ea5b8e37237f92..1583644a4d7efca3cf867e9af8367b6a4cf284b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-05-02 [colin]     2.9.1cvs38
+
+       * src/textview.c
+               Fix bug 1209, 'Clicking on address 
+               in header (mailto uri) selects 
+               default account'. Patch adapted from
+               G.P. Halkes' patch.
+
 2007-05-02 [colin]     2.9.1cvs37
 
        * src/grouplistdialog.c
index b5b2afd36948b0a7077c5d34cdc5ff46bba51306..8881800a4a4024bf5ff0ab41cc72d58fcaad481a 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.2.16 -r 1.1.2.17 manual/glossary.xml;  cvs diff -u -r 1.1.2.17 -r 1.1.2.18 manual/plugins.xml;  ) > 2.9.1cvs35.patchset
 ( cvs diff -u -r 1.213.2.143 -r 1.213.2.144 src/folder.c;  cvs diff -u -r 1.9.2.36 -r 1.9.2.37 src/common/defs.h;  ) > 2.9.1cvs36.patchset
 ( cvs diff -u -r 1.14.2.17 -r 1.14.2.18 src/grouplistdialog.c;  ) > 2.9.1cvs37.patchset
+( cvs diff -u -r 1.96.2.171 -r 1.96.2.172 src/textview.c;  ) > 2.9.1cvs38.patchset
index c239c6c6e324476958fadda8536b208827163d56..51193adb286d092119dad12f9a8b404f8cf4d936 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=37
+EXTRA_VERSION=38
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index a49e4d4a710f68b3078991192d0d09ab8e4d42fd..66478ca6da7e6243608e008a7dd25125c6e19f5b 100644 (file)
@@ -2418,6 +2418,8 @@ static gboolean textview_uri_button_pressed(GtkTextTag *tag, GObject *obj,
                                        folder_item = textview->messageview->msginfo->folder;
                                        if (folder_item->prefs && folder_item->prefs->enable_default_account)
                                                account = account_find_from_id(folder_item->prefs->default_account);
+                                       if (!account)
+                                               account = account_find_from_item(folder_item);
                                }
                                compose_new_with_folderitem(account, folder_item, uri->uri + 7);
                        }