[polari] chatView: Change wrap mode to WORD_CHAR



commit 1f4422f85e757e76dbec05df2f19b293206c5af9
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Aug 2 02:26:15 2013 +0200

    chatView: Change wrap mode to WORD_CHAR
    
    There are still some problems with undesired text view size changes;
    not strictly wrapping on word boundaries only at least helps in some
    situations.

 src/chatView.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/chatView.js b/src/chatView.js
index 7ca3182..576cfba 100644
--- a/src/chatView.js
+++ b/src/chatView.js
@@ -155,7 +155,7 @@ const ChatView = new Lang.Class({
 
         this._view = new Gtk.TextView({ editable: false, cursor_visible: false,
                                         margin: 6, visible: true,
-                                        wrap_mode: Gtk.WrapMode.WORD });
+                                        wrap_mode: Gtk.WrapMode.WORD_CHAR });
         this.widget.add(this._view);
         this.widget.show_all();
 


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