[Nautilus-list] Bug #75209 - word-wrapping in notes component



Hi,

The notes view isn't wrapping text at present:

http://bugzilla.gnome.org/show_bug.cgi?id=75209


Attached is a simple patch to turn word-wrapping on.

Damon

Index: nautilus-notes.c
===================================================================
RCS file: /cvs/gnome/nautilus/components/notes/nautilus-notes.c,v
retrieving revision 1.82
diff -u -r1.82 nautilus-notes.c
--- nautilus-notes.c	18 Apr 2002 18:38:36 -0000	1.82
+++ nautilus-notes.c	25 Apr 2002 20:16:18 -0000
@@ -373,6 +373,8 @@
         gdk_font_unref (font);
 #endif
 	gtk_text_view_set_editable (GTK_TEXT_VIEW (notes->note_text_field), TRUE);	
+        gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (notes->note_text_field),
+                                     GTK_WRAP_WORD);
         gtk_box_pack_start (GTK_BOX (vbox), notes->note_text_field, TRUE, TRUE, 0);
 
         background = eel_get_widget_background (notes->note_text_field);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]