aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-31 03:00:25 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-31 03:00:25 +0000
commit5592a4994acc941e4fb309c85742c6ecface54f4 (patch)
treecea25b08dbcd8d9cf4d3863724315c39182f9a5c
parent290a31ff2f0027d043fdd92880ae5730fd484b04 (diff)
disabled the trimming of statusbar strings.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@947 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/statusbar.c9
-rw-r--r--src/textview.c8
4 files changed, 15 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index ec32c04a..eed27373 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-01-31
+ * src/statusbar.c
+ src/textview.c: disabled the trimming of statusbar strings.
+
+2006-01-31
+
* libsylph/prefs_common.[ch]
src/addressbook.c: the size of address book is now remembered.
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 985c8e12..a30eb17d 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,10 @@
2006-01-31
+ * src/statusbar.c
+ src/textview.c: ステータスバー文字列の切り詰めを行わないようにした。
+
+2006-01-31
+
* libsylph/prefs_common.[ch]
src/addressbook.c: アドレス帳のサイズを記憶するようにした。
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);
}
}