From dd170e0b5819d5f5a8137b2b4aacba3b76fdb8d4 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sat, 3 Jul 2010 11:06:12 +0200 Subject: [PATCH] [libview] Set word wrapping mode for text in popup annotations Patch by gvlat@pochta.ru. Fixes bug #623456. --- libview/ev-annotation-window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libview/ev-annotation-window.c b/libview/ev-annotation-window.c index abbff69b..559b879f 100644 --- a/libview/ev-annotation-window.c +++ b/libview/ev-annotation-window.c @@ -319,6 +319,7 @@ ev_annotation_window_init (EvAnnotationWindow *window) GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); window->text_view = gtk_text_view_new (); + gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (window->text_view), GTK_WRAP_WORD); g_signal_connect (window->text_view, "button_press_event", G_CALLBACK (text_view_button_press), window); -- 2.43.5