Package: konsole Hello, Below is a patch that I would like to submit for konsole. It should correct several of the title bugs people have been submitting. It fixes the bug with titles set from the console itself, and changes the title when you change the session title. This is the first time I am submitting anything so if the formatting is wrong or I need to do something else please contact me. Thanks: --- konsole.C.orig Thu Nov 30 13:55:32 2000 +++ konsole.C Thu Nov 30 13:56:30 2000 @@ -911,6 +911,8 @@ void Konsole::activateSession(TESession rootxpm->repaint(true); // this is a must, otherwise you loose the bg. } } + if (te->currentSession) + te->currentSession->setTitle(title); te->currentSession = se; if (s->fontNo() != n_font) setFont(s->fontNo()); @@ -1157,6 +1159,11 @@ void Konsole::slotRenameSession() { QString name = ra->text(); KLineEditDlg dlg(i18n("Session name"),name, this); if (dlg.exec()) { + se->setTitle(dlg.text()); + if (se == te->currentSession){ + title = dlg.text(); + setHeader(); + } ra->setText(dlg.text()); ra->setIcon("openterm"); // I don't know why it is needed here toolBar()->updateRects();