summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@src.gnome.org>2002-08-22 20:50:13 +0000
committerNalin Dahyabhai <nalin@src.gnome.org>2002-08-22 20:50:13 +0000
commite0815136a8d8ec40b3d64cca372199f50d3d2bad (patch)
treed906f10f46434c8b62d3dc193e65b1e5d8969bf4
parent8d4157d627e109caf00009f7a7468c3d8fe97729 (diff)
downloadvte-e0815136a8d8ec40b3d64cca372199f50d3d2bad.tar.gz
Set geometry hints using the initial font setup.
* src/vteapp.c: Set geometry hints using the initial font setup.
-rw-r--r--ChangeLog2
-rw-r--r--src/vteapp.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 90e4b133..3b9ece63 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,6 @@
2002-08-22 nalin
+ * src/vteapp.c: Set geometry hints using the initial font setup.
+2002-08-22 nalin
* src/vte.c, src/vte.h: Make use of the visible bell a separate option
from use of the audible bell, allowing both/neither to be used. Open
fonts right away again -- profterm reads the metrics right after calling
diff --git a/src/vteapp.c b/src/vteapp.c
index f7918be2..34e1e0e0 100644
--- a/src/vteapp.c
+++ b/src/vteapp.c
@@ -198,6 +198,7 @@ main(int argc, char **argv)
/* Connect to the "char_size_changed" signal to set geometry hints
* whenever the font used by the terminal is changed. */
if (geometry) {
+ char_size_changed(widget, 0, 0, window);
g_signal_connect(G_OBJECT(widget), "char-size-changed",
G_CALLBACK(char_size_changed), window);
}