Updating branch refs/heads/master
to 11ff993ecde4b98dd5e71613946bf5616fc23410 (commit)
from 96178e60b7804becd3b4f39ccfe5a034a63e2ec5 (commit)
commit 11ff993ecde4b98dd5e71613946bf5616fc23410
Author: Alexander Butenko <[email protected]>
Date: Wed Jan 13 06:56:12 2010 +0100
Strip trailing whitespace from console messages
panels/midori-console.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/panels/midori-console.c b/panels/midori-console.c
index f47227f..f758589 100644
--- a/panels/midori-console.c
+++ b/panels/midori-console.c
@@ -219,6 +219,7 @@ midori_console_treeview_render_text_cb (GtkTreeViewColumn*
column,
gtk_tree_model_get (model, iter, 0, &message, 1, &line, 2, &source_id, -1);
+ g_strchomp (message);
text = g_strdup_printf ("%d @ %s\n%s", line, source_id, message);
g_object_set (renderer, "text", text, NULL);
g_free (text);
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits