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>