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 e9f9de6..72b5bd3 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 8754c8e..9c5a348 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 56dfbb7..4a551a2 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 d367e4b..4abc0db 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);
                }
        }
 }