]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-annotation-window.c
[libview] Set word wrapping mode for text in popup annotations
[evince.git] / libview / ev-annotation-window.c
index abbff69b36d8c06bf13ae77115f4890fcb6da5d4..559b879f5cf941cfe01dd4c6de9c001e69aa680a 100644 (file)
@@ -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);