gnome-terminal r3166 - branches/gnome-2-24/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r3166 - branches/gnome-2-24/src
- Date: Mon, 13 Oct 2008 18:52:01 +0000 (UTC)
Author: chpe
Date: Mon Oct 13 18:52:01 2008
New Revision: 3166
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=3166&view=rev
Log:
Add 2 * xpad to width and 2 * ypad to height in
terminal_window_set_size_force_grid, since that's also how
vte_terminal_size_request works.
Modified:
branches/gnome-2-24/src/terminal-window.c
Modified: branches/gnome-2-24/src/terminal-window.c
==============================================================================
--- branches/gnome-2-24/src/terminal-window.c (original)
+++ branches/gnome-2-24/src/terminal-window.c Mon Oct 13 18:52:01 2008
@@ -2158,8 +2158,8 @@
vte_terminal_get_padding (VTE_TERMINAL (screen), &xpad, &ypad);
- w += xpad + char_width * grid_width;
- h += ypad + char_height * grid_height;
+ w += xpad * 2 + char_width * grid_width;
+ h += ypad * 2 + char_height * grid_height;
#ifdef DEBUG_GEOMETRY
g_printerr ("set size: grid %dx%d force %dx%d setting %dx%d pixels\n",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]