From: Carlos Garcia Campos Date: Sat, 3 Jul 2010 09:06:12 +0000 (+0200) Subject: [libview] Set word wrapping mode for text in popup annotations X-Git-Tag: EVINCE_2_31_5~29 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=dd170e0b5819d5f5a8137b2b4aacba3b76fdb8d4;p=evince.git [libview] Set word wrapping mode for text in popup annotations Patch by gvlat@pochta.ru. Fixes bug #623456. --- 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);