[gimp/metadata-browser: 40/45] Allow wrapping of the GtkTextViews.
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser: 40/45] Allow wrapping of the GtkTextViews.
- Date: Tue, 19 Feb 2013 23:43:05 +0000 (UTC)
commit 482d1ad4e7618320e8e9c061a90873824f0e38e0
Author: Roman Joost <roman bromeco de>
Date: Thu Oct 6 20:48:44 2011 +1000
Allow wrapping of the GtkTextViews.
plug-ins/metadata/interface.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/metadata/interface.c b/plug-ins/metadata/interface.c
index 3b6071c..5ce04eb 100644
--- a/plug-ins/metadata/interface.c
+++ b/plug-ins/metadata/interface.c
@@ -256,6 +256,8 @@ add_description_tab (GtkWidget *notebook,
"property-name", "description",
"xmp-model", mgui->xmp_model,
NULL);
+ gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (text_view),
+ GTK_WRAP_WORD_CHAR);
gtk_container_add (GTK_CONTAINER (scrolled_window), text_view);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 2,
_("_Description:"), 0.0, 0.5,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]