[gnome-disk-utility/new-ui] Wrap the text in the Details of the error dialog



commit 896c8ee9cc42df5b855f7f6ae0a81b88714a81ee
Author: David Zeuthen <davidz redhat com>
Date:   Mon Oct 26 16:53:58 2009 -0400

    Wrap the text in the Details of the error dialog

 src/gdu-gtk/gdu-error-dialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gdu-gtk/gdu-error-dialog.c b/src/gdu-gtk/gdu-error-dialog.c
index 1004e0b..4f4725f 100644
--- a/src/gdu-gtk/gdu-error-dialog.c
+++ b/src/gdu-gtk/gdu-error-dialog.c
@@ -268,6 +268,7 @@ gdu_error_dialog_constructed (GObject *object)
         text_view = gtk_text_view_new_with_buffer (buffer);
         g_object_unref (buffer);
         gtk_text_view_set_editable (GTK_TEXT_VIEW (text_view), FALSE);
+        gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (text_view), GTK_WRAP_WORD_CHAR);
         gtk_container_add (GTK_CONTAINER (expander), scrolled_window);
         gtk_container_add (GTK_CONTAINER (scrolled_window), text_view);
 



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