[gnome-terminal] window: Maintain logical window size when line or char spacing changes
- From: Egmont Koblinger <egmontkob src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] window: Maintain logical window size when line or char spacing changes
- Date: Fri, 29 Dec 2017 20:02:48 +0000 (UTC)
commit d6a1a206bc94f4b6272525cc4288c2d010717750
Author: Egmont Koblinger <egmont gmail com>
Date: Fri Dec 29 21:01:33 2017 +0100
window: Maintain logical window size when line or char spacing changes
https://bugzilla.gnome.org/show_bug.cgi?id=791968#c9
src/terminal-window.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index 4460f6e..6328b48 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -2920,6 +2920,10 @@ mdi_screen_added_cb (TerminalMdiContainer *container,
G_CALLBACK (screen_font_any_changed_cb), window);
g_signal_connect (screen, "notify::font-scale",
G_CALLBACK (screen_font_any_changed_cb), window);
+ g_signal_connect (screen, "notify::cell-height-scale",
+ G_CALLBACK (screen_font_any_changed_cb), window);
+ g_signal_connect (screen, "notify::cell-width-scale",
+ G_CALLBACK (screen_font_any_changed_cb), window);
g_signal_connect (screen, "notify::encoding",
G_CALLBACK (screen_encoding_changed_cb), window);
g_signal_connect (screen, "selection-changed",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]