talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 6181c0a29a0b3724f0dfc67ba1a1087fd76980a4
parent 43c98c4cf6740306767eae0edaa550fe23b09585
Author: Paul Mangan <paul@claws-mail.org>
Date:   Tue, 30 Dec 2008 17:14:44 +0000

2008-12-30 [paul]	3.7.0cvs7

	* src/textview.c
		no need to prematurely trim the uri in the statusbar

Diffstat:
MChangeLog | 5+++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/textview.c | 7+------
4 files changed, 8 insertions(+), 7 deletions(-)

diff --git 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 diff --git a/PATCHSETS b/PATCHSETS @@ -3668,3 +3668,4 @@ ( 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 diff --git a/configure.ac b/configure.ac @@ -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= diff --git a/src/textview.c b/src/textview.c @@ -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); } } }