GNOME Bugzilla – Bug 354234
Don't ignore terminal default sizes, and copy zoom to new terminals
Last modified: 2006-10-18 04:35:28 UTC
If the xterm termcap installed by vte is edited so that the co and li entries have not their default values (which is vte's funny way of changing the default terminal size!) then g-t ignores this for the first tab of each window, and just uses 80x24. This is quite minor, as I doubt many people know they can edit the termcap... The following patch fixes that and moreover makes a new tab have the same zoom factor as the active one. The approach is different from the one in the patch attached to comment 2 of bug 335200, «Remember zoom setting for new tabs». Both are more or less equivalent.
Created attachment 72185 [details] [review] Do that.
Fixed in HEAD: 2006-10-17 Mariano Suárez-Alvarez <msuarezalvarez@arnet.com.ar> Bug 354234 – Don't ignore terminal default sizes, and copy zoom to new terminals * src/terminal-window.c (notebook_tab_added_callback): do not hardcode the 80x24 size but use the default provided by vte (which could be changed in vte's termcap) Also, move the copy-zoom-from-active-terminal handling from new_tab_callback to here.