Strip trailing whitespace from console messages
This commit is contained in:
parent
96178e60b7
commit
11ff993ecd
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue