Index: vte.c
===================================================================
RCS file: /cvs/gnome/vte/src/vte.c,v
retrieving revision 1.404
diff -U5 -r1.404 vte.c
--- vte.c	2 May 2004 06:43:01 -0000	1.404
+++ vte.c	6 May 2004 05:31:37 -0000
@@ -5799,11 +5799,11 @@
 			}
 #endif
 			snprintf(buf, sizeof(buf),
 				 "%sL%s%s",
 				 _VTE_CAP_OSC,
-				 "Terminal",
+				 terminal->icon_title,
 				 _VTE_CAP_ST);
 			vte_terminal_feed_child(terminal, buf, strlen(buf));
 			break;
 		case 21:
 			/* Report the window title. */
@@ -5811,13 +5811,13 @@
 			if (_vte_debug_on(VTE_DEBUG_PARSE)) {
 				fprintf(stderr, "Reporting window title.\n");
 			}
 #endif
 			snprintf(buf, sizeof(buf),
-				 "%sL%s%s",
+				 "%sl%s%s",
 				 _VTE_CAP_OSC,
-				 "Terminal",
+				 terminal->window_title,
 				 _VTE_CAP_ST);
 			vte_terminal_feed_child(terminal, buf, strlen(buf));
 			break;
 		default:
 			if (param >= 24) {
