[gnome-calculator/gnome-3-10] gnome-calculator : Removes the wrap feature in the display.



commit fee9a555a48c2cd106f4ad3ba9249f736e86d173
Author: Kevin THIERRY <kevin thierry kaiwen me>
Date:   Tue Oct 29 15:04:30 2013 +0100

    gnome-calculator : Removes the wrap feature in the display.
    
    The wrap feature allows the display's height to be increased without limit
    which causes the calculator window to exit the screen. Disabling this feature
    removes such a possibility.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=707061

 src/math-display.vala |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/math-display.vala b/src/math-display.vala
index a466f26..4542823 100644
--- a/src/math-display.vala
+++ b/src/math-display.vala
@@ -31,7 +31,6 @@ public class MathDisplay : Gtk.Viewport
         add (main_box);
 
         text_view = new Gtk.TextView.with_buffer (equation);
-        text_view.set_wrap_mode (Gtk.WrapMode.WORD);
         text_view.set_accepts_tab (false);
         text_view.set_pixels_above_lines (8);
         text_view.set_pixels_below_lines (2);


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