[nautilus] Don't force no horizontal scrollbar in the note viewer



commit fd9df908248be20bc5f79def1dd96a45bb9f56c8
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Jul 9 19:03:34 2009 +0100

    Don't force no horizontal scrollbar in the note viewer
    
    This causes issues with long words in the notes viewer, as the window
    will grow bigger along with the word.
    Patch by Luke Symes, fix bug #399018.

 src/nautilus-notes-viewer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-notes-viewer.c b/src/nautilus-notes-viewer.c
index 15717f7..e71f393 100644
--- a/src/nautilus-notes-viewer.c
+++ b/src/nautilus-notes-viewer.c
@@ -328,7 +328,7 @@ nautilus_notes_viewer_init (NautilusNotesViewer *sidebar)
         gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (details->note_text_field),
                                      GTK_WRAP_WORD);
 	gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sidebar),
-					GTK_POLICY_NEVER,
+					GTK_POLICY_AUTOMATIC,
 					GTK_POLICY_AUTOMATIC);
 	gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sidebar),
                                              GTK_SHADOW_IN);



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