[gimp/metadata-browser] Allow wrapping of the GtkTextViews.
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] Allow wrapping of the GtkTextViews.
- Date: Thu, 6 Oct 2011 10:51:08 +0000 (UTC)
commit ccc056bd8fd4389e1e71564cf02c3ca3e9f73ed6
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 b48e4ad..104bb8c 100644
--- a/plug-ins/metadata/interface.c
+++ b/plug-ins/metadata/interface.c
@@ -255,6 +255,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]