]> www.fi.muni.cz Git - evince.git/commitdiff
[libview] Set word wrapping mode for text in popup annotations
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sat, 3 Jul 2010 09:06:12 +0000 (11:06 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sat, 3 Jul 2010 09:06:12 +0000 (11:06 +0200)
Patch by gvlat@pochta.ru. Fixes bug #623456.

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);