[rhythmbox] property-view: set single-paragraph mode on the text renderer
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] property-view: set single-paragraph mode on the text renderer
- Date: Mon, 23 Oct 2017 09:51:26 +0000 (UTC)
commit 817785f5ec63ee2d6cf7cc91eb3d8274799fe362
Author: Jonathan Matthew <jonathan d14n org>
Date: Mon Oct 23 19:49:58 2017 +1000
property-view: set single-paragraph mode on the text renderer
This makes it consistent with the entry view, which sets single
paragraph mode to handle comment tags containing newlines.
https://bugzilla.gnome.org/show_bug.cgi?id=789155
widgets/rb-property-view.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/widgets/rb-property-view.c b/widgets/rb-property-view.c
index d6f1927..2195f11 100644
--- a/widgets/rb-property-view.c
+++ b/widgets/rb-property-view.c
@@ -741,6 +741,7 @@ rb_property_view_constructed (GObject *object)
gtk_tree_view_column_set_sizing (view->priv->column, GTK_TREE_VIEW_COLUMN_FIXED);
gtk_tree_view_append_column (GTK_TREE_VIEW (view->priv->treeview),
view->priv->column);
+ g_object_set (renderer, "single-paragraph-mode", TRUE, NULL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]