mirror of
https://github.com/KDE/konsole.git
synced 2026-06-20 19:59:28 -04:00
Update the title for a tab by taking a snapshot of the terminal process as soon as it starts. Add a signal to Session which is emitted when the process is successfully started.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=757282
This commit is contained in:
@@ -128,11 +128,13 @@ SessionController::SessionController(Session* session , TerminalDisplay* view, Q
|
||||
SLOT(sessionStateChanged(int) ));
|
||||
// listen to title and icon changes
|
||||
connect( _session , SIGNAL(titleChanged()) , this , SLOT(sessionTitleChanged()) );
|
||||
|
||||
// update the title when the session starts
|
||||
connect( _session , SIGNAL(started()) , this , SLOT(snapshot()) );
|
||||
|
||||
// listen for output changes to set activity flag
|
||||
connect( _session->emulation() , SIGNAL(outputChanged()) , this ,
|
||||
SLOT(fireActivity()) );
|
||||
|
||||
|
||||
// listen for flow control status changes
|
||||
connect( _session , SIGNAL(flowControlEnabledChanged(bool)) , _view ,
|
||||
|
||||
Reference in New Issue
Block a user