2006-07-06 [paul] 2.3.1cvs62
authorPaul Mangan <paul@claws-mail.org>
Thu, 6 Jul 2006 07:46:13 +0000 (07:46 +0000)
committerPaul Mangan <paul@claws-mail.org>
Thu, 6 Jul 2006 07:46:13 +0000 (07:46 +0000)
* src/textview.c
fix attachments contextual menu
Thanks to Colin

ChangeLog
PATCHSETS
configure.ac
src/textview.c

index 974be7c6538be24402e7ef6dd1a958d42c489394..830ad67a1ac4cbcf509636d6350b996bb31163c4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-07-06 [paul]      2.3.1cvs62
+
+       * src/textview.c
+               fix attachments contextual menu
+               Thanks to Colin
+
 2006-07-05 [colin]     2.3.1cvs61
 
        * src/textview.c
index 3334a2d54c673021ec0257c5cd9ca9d430fe1d4e..073d19fc9a450b07a7725cd09a48edb0ad852d47 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.2.3 -r 1.1.2.4 manual/xml2pdf;  ) > 2.3.1cvs59.patchset
 ( cvs diff -u -r 1.2.2.24 -r 1.2.2.25 src/gtk/filesel.c;  ) > 2.3.1cvs60.patchset
 ( cvs diff -u -r 1.96.2.121 -r 1.96.2.122 src/textview.c;  cvs diff -u -r 1.382.2.292 -r 1.382.2.293 src/compose.c;  ) > 2.3.1cvs61.patchset
+( cvs diff -u -r 1.96.2.122 -r 1.96.2.123 src/textview.c;  ) > 2.3.1cvs62.patchset
index be529aafd115d2699939793362e014be0b8a8f71..28069cbc914d8d9e56ba8a53d7d032a22b491564 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=3
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=61
+EXTRA_VERSION=62
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 10aa944f80dc98fb0499d78b04028739a028fc14..9b81b69332f2bc39f43589f6e35cd3bf42796a7e 100644 (file)
@@ -632,7 +632,6 @@ static void textview_add_part(TextView *textview, MimeInfo *mimeinfo)
        if (mimeinfo->disposition == DISPOSITIONTYPE_ATTACHMENT
        || (mimeinfo->disposition == DISPOSITIONTYPE_INLINE && 
            mimeinfo->type != MIMETYPE_TEXT)) {
-               //gtk_text_buffer_insert(buffer, &iter, buf, -1);
                TEXT_INSERT_LINK(buf, "sc://select_attachment", mimeinfo);
                if (mimeinfo->type == MIMETYPE_IMAGE  &&
                    prefs_common.inline_img ) {
@@ -677,6 +676,7 @@ static void textview_add_part(TextView *textview, MimeInfo *mimeinfo)
 
                        uri_str = g_filename_to_uri(filename, NULL, NULL);
                        if (uri_str) {
+                               gtk_text_buffer_insert(buffer, &iter, " ", -1);
                                uri = g_new(RemoteURI, 1);
                                uri->uri = uri_str;
                                uri->start = gtk_text_iter_get_offset(&iter);