Not only change the terminals window title but also the icon name
commitdc2c532a9173b9f8365dacf1beefb3f93a5fb713
authorStephan Schulz <ss.c@gmx.net>
Tue, 13 Nov 2007 18:25:22 +0000 (13 18:25 +0000)
committerDavid Riebenbauer <davrieb@liegesta.at>
Tue, 13 Nov 2007 18:26:58 +0000 (13 18:26 +0000)
tree89541dcba251234a9c60854c843c0041e058aa71
parent6e4c5249feeadc6cf7d36860d5926b472698075a
Not only change the terminals window title but also the icon name

I found it annoying that (at least on my system), centerims title changes
were only visible in the title of the xterm window itself but not in the
taskbar. It has nothing todo with the xterm settings as midnight
commanders title changes appeared in the taskbar (I'm speaking of a gnome
desktop right now). I traced the source for title changing function und
changed the following line:
icqface.cc:3648 in tarball centerim-20071022.tar.gz
from: cout << "\x1b]1;\x07\x1b]2;" << [cutted]
to: cout << "\x1b]1;\x07\x1b]0;" << [cutted]

The change from 2 to 0 has the effect of not only changing the window
title but also the icon name.

Signed-off-by: David Riebenbauer <davrieb@liegesta.at>
src/icqface.cc