2008-12-30 [paul] 3.7.0cvs7
authorPaul Mangan <paul@claws-mail.org>
Tue, 30 Dec 2008 17:14:44 +0000 (17:14 +0000)
committerPaul Mangan <paul@claws-mail.org>
Tue, 30 Dec 2008 17:14:44 +0000 (17:14 +0000)
* src/textview.c
no need to prematurely trim the uri in the statusbar

ChangeLog
PATCHSETS
configure.ac
src/textview.c

index e9f9de6c036ceb619901159fd4b339d2cd3f55fb..72b5bd350c7b533d1c4168554546874f2b947088 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-30 [paul]      3.7.0cvs7
+
+       * src/textview.c
+               no need to prematurely trim the uri in the statusbar
+
 2008-12-29 [paul]      3.7.0cvs6
 
        * src/procmsg.c
index 8754c8e8f4d779706995e83776512e849f5c19e1..9c5a348849dcf5fe1bdc077dd573c3aba5d71782 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.382.2.490 -r 1.382.2.491 src/compose.c;  ) > 3.7.0cvs4.patchset
 ( cvs diff -u -r 1.382.2.491 -r 1.382.2.492 src/compose.c;  ) > 3.7.0cvs5.patchset
 ( cvs diff -u -r 1.150.2.110 -r 1.150.2.111 src/procmsg.c;  ) > 3.7.0cvs6.patchset
+( cvs diff -u -r 1.96.2.212 -r 1.96.2.213 src/textview.c;  ) > 3.7.0cvs7.patchset
index 56dfbb7334aa5529f10d8559f9160a4ad7614785..4a551a2fbe23c5cfe50e7a3dac193eebd7a00a7d 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=7
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=6
+EXTRA_VERSION=7
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index d367e4b5276e9171a249cc150915b9d76f409fa3..4abc0dbc65a62ff79b98348dda618ce7c5af44a1 100644 (file)
@@ -2443,17 +2443,12 @@ static void textview_uri_update(TextView *textview, gint x, gint y)
                TEXTVIEW_STATUSBAR_POP(textview);
 
                if (uri) {
-                       char *trimmed_uri;
-
                        if (!uri->is_quote)
                                gtk_text_buffer_apply_tag_by_name(buffer,
                                                          "link-hover",
                                                          &start_iter,
                                                          &end_iter);
-
-                       trimmed_uri = trim_string(uri->uri, 60);
-                       TEXTVIEW_STATUSBAR_PUSH(textview, trimmed_uri);
-                       g_free(trimmed_uri);
+                       TEXTVIEW_STATUSBAR_PUSH(textview, uri->uri);
                }
        }
 }