From dd170e0b5819d5f5a8137b2b4aacba3b76fdb8d4 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sat, 03 Jul 2010 09:06:12 +0000 Subject: [libview] Set word wrapping mode for text in popup annotations Patch by gvlat@pochta.ru. Fixes bug #623456. --- (limited to 'libview/ev-annotation-window.c') diff --git a/libview/ev-annotation-window.c b/libview/ev-annotation-window.c index abbff69..559b879 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); -- cgit v0.9.1