diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-07-11 00:59:21 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-07-11 00:59:21 +0000 |
commit | 327ecef62f383483245b10ca9d12831f5cb91b76 (patch) | |
tree | 1da36b88d57438eef60211eb89ccfc31f4328e44 | |
parent | c72bdb798ef3afbf18627f0929a418f88d5e41d3 (diff) |
Bug 141985 – vte does not respond to 'CSI 2 1 t' or 'CSI 2 0 t' with the
2006-07-10 Behdad Esfahbod <behdad@gnome.org>
Bug 141985 – vte does not respond to 'CSI 2 1 t' or 'CSI 2 0 t' with
the correct window/icon title
Patch from Mariano Suárez-Alvarez
* src/vte.c (vte_terminal_realize), src/vteseq.c
* (vte_sequence_handler_set_title_internal): Set window/icon titles.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | src/vte.c | 4 | ||||
-rw-r--r-- | src/vteseq.c | 2 |
3 files changed, 15 insertions, 0 deletions
@@ -1,5 +1,14 @@ 2006-07-10 Behdad Esfahbod <behdad@gnome.org> + Bug 141985 – vte does not respond to 'CSI 2 1 t' or 'CSI 2 0 t' with + the correct window/icon title + Patch from Mariano Suárez-Alvarez + + * src/vte.c (vte_terminal_realize), src/vteseq.c + * (vte_sequence_handler_set_title_internal): Set window/icon titles. + +2006-07-10 Behdad Esfahbod <behdad@gnome.org> + Bug 121904 – copy-paste of empty line Bug 25290 – Small UI tweak to select-by-word (only select only letter at a time for non-word characters) @@ -7432,6 +7432,10 @@ vte_terminal_realize(GtkWidget *widget) /* Set the realized flag. */ GTK_WIDGET_SET_FLAGS(widget, GTK_REALIZED); + /* Set window/icon titles */ + gdk_window_set_title (widget->window, ""); + gdk_window_set_icon_name (widget->window, ""); + /* Actually load the font. */ vte_terminal_set_font_full(terminal, terminal->pvt->fontdesc, terminal->pvt->fontantialias); diff --git a/src/vteseq.c b/src/vteseq.c index d8bb2f8..e072f12 100644 --- a/src/vteseq.c +++ b/src/vteseq.c @@ -458,11 +458,13 @@ vte_sequence_handler_set_title_internal(VteTerminal *terminal, if (strcmp(signal, "window") == 0) { g_free(terminal->window_title); terminal->window_title = g_strdup(validated); + gdk_window_set_title (GTK_WIDGET (terminal)->window, validated); vte_terminal_emit_window_title_changed(terminal); } else if (strcmp(signal, "icon") == 0) { g_free (terminal->icon_title); terminal->icon_title = g_strdup(validated); + gdk_window_set_icon_name (GTK_WIDGET (terminal)->window, validated); vte_terminal_emit_icon_title_changed(terminal); } g_free(validated); |