[gnome-calculator] Remove wrap feature in the display.
- From: Arth Patel <arthpatel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] Remove wrap feature in the display.
- Date: Sat, 9 Nov 2013 21:21:41 +0000 (UTC)
commit a09ebdba22d3c19167f39e518f4995e15a490b09
Author: PioneerAxon <arth svnit gmail com>
Date: Sun Nov 10 02:16:56 2013 +0530
Remove wrap feature in the display.
The original patch had to be modified to fix rebase issues.
Original patch details:
From: Kevin THIERRY <kevin thierry kaiwen me>
Date: Tue, 29 Oct 2013 15:04:30 +0100
Subject: [PATCH] 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 b0c68b0..9c46293 100644
--- a/src/math-display.vala
+++ b/src/math-display.vala
@@ -31,7 +31,6 @@ public class MathDisplay : Gtk.Viewport
add (main_box);
source_view = new Gtk.SourceView.with_buffer (equation);
- source_view.set_wrap_mode (Gtk.WrapMode.WORD);
source_view.set_accepts_tab (false);
source_view.set_pixels_above_lines (8);
source_view.set_pixels_below_lines (2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]