On Tue, 13 Nov 2007, David Riebenbauer wrote:

> * Stephan Schulz <[EMAIL PROTECTED]> [2007-11-13 17:34]:
> > 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 alos the icon name. I also think that the leading "\x1b]1;\x07" 
> > can be cut because this would set the icon name to "" which seems to get 
> > ignored at least by gnome-terminal and makes no sense to me even if this 
> > would work.
> 
> Looks good.
> 
> I'll try to read up on the docs, about the terminal codes you
> suggested could be removed, first. I want to know what they're doing
> before I remove them.
> 
> Any pointers?

I check my modifications with this link:
http://tldp.org/HOWTO/Xterm-Title-3.html#ss3.1

> 
> > Any comments?
> 
> Yes. Could you please send a proper patch next time? "man patch" gives
> instructions.  Even with one-line changes this would save some time.

I'll do so next time :)

> 
> > If this change is ok, could someone of the developers commit this change? 
> 
> Done
> 
> 
> 
> Thanks
> 
> -- 
> David Riebenbauer
> Jabber: [EMAIL PROTECTED] - ICQ: 322056002 
> 

-- 
_______________________________________________
Centerim-devel mailing list
[email protected]
http://centerim.org/mailman/listinfo/centerim-devel
http://www.centerim.org/

Reply via email to