diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-01-31 03:00:25 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-01-31 03:00:25 +0000 |
commit | 5592a4994acc941e4fb309c85742c6ecface54f4 (patch) | |
tree | cea25b08dbcd8d9cf4d3863724315c39182f9a5c /src | |
parent | 290a31ff2f0027d043fdd92880ae5730fd484b04 (diff) |
disabled the trimming of statusbar strings.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@947 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r-- | src/statusbar.c | 9 | ||||
-rw-r--r-- | src/textview.c | 8 |
2 files changed, 5 insertions, 12 deletions
diff --git a/src/statusbar.c b/src/statusbar.c index 15897235..c4f7a6d4 100644 --- a/src/statusbar.c +++ b/src/statusbar.c @@ -1,6 +1,6 @@ /* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2005 Hiroyuki Yamamoto + * Copyright (C) 1999-2006 Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -51,12 +51,9 @@ void statusbar_puts(GtkStatusbar *statusbar, const gchar *str) { gint cid; gchar *buf; - gchar *tmp; - tmp = g_strdup(str); - strretchomp(tmp); - buf = trim_string(tmp, 76); - g_free(tmp); + buf = g_strdup(str); + strretchomp(buf); cid = gtk_statusbar_get_context_id(statusbar, "Standard Output"); gtk_statusbar_pop(statusbar, cid); diff --git a/src/textview.c b/src/textview.c index 5d4dfadb..a705c1c9 100644 --- a/src/textview.c +++ b/src/textview.c @@ -1,6 +1,6 @@ /* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2005 Hiroyuki Yamamoto + * Copyright (C) 1999-2006 Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1778,11 +1778,7 @@ static void textview_show_uri(TextView *textview, GtkTextIter *start, STATUSBAR_POP(textview); uri = textview_get_uri(textview, start, end); if (uri) { - gchar *trimmed_uri; - - trimmed_uri = trim_string(uri->uri, 60); - STATUSBAR_PUSH(textview, trimmed_uri); - g_free(trimmed_uri); + STATUSBAR_PUSH(textview, uri->uri); } } |