[evince] [libview] Set word wrapping mode for text in popup annotations
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] [libview] Set word wrapping mode for text in popup annotations
- Date: Sat, 3 Jul 2010 09:08:23 +0000 (UTC)
commit dd170e0b5819d5f5a8137b2b4aacba3b76fdb8d4
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Sat Jul 3 11:06:12 2010 +0200
[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 files changed, 1 insertions(+), 0 deletions(-)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]