[gimp/metadata-browser: 40/44] Allow wrapping of the GtkTextViews.



commit fc7ecfa774b86af1699c476cc0cc0e519e9bbd5a
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]