From 11ff993ecde4b98dd5e71613946bf5616fc23410 Mon Sep 17 00:00:00 2001 From: Alexander Butenko Date: Wed, 13 Jan 2010 06:56:12 +0100 Subject: [PATCH] Strip trailing whitespace from console messages --- panels/midori-console.c | 1 + 1 file changed, 1 insertion(+) diff --git a/panels/midori-console.c b/panels/midori-console.c index f47227fc..f758589f 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); -- 2.39.5