diff options
author | Michele Calgaro <[email protected]> | 2016-02-08 16:39:21 +0700 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2016-02-08 16:39:21 +0700 |
commit | 099c8a8821e896884180f57dda94af5fdbd87aaa (patch) | |
tree | c83cf391dddd78128d29d2a9279d99ff815c73e6 /kate/app/kateappIface.cpp | |
parent | de91a161b1555bca58c4c30c6367dcc38750ca17 (diff) | |
download | tdebase-099c8a8821e896884180f57dda94af5fdbd87aaa.tar.gz tdebase-099c8a8821e896884180f57dda94af5fdbd87aaa.zip |
Disabled the old session manager and switched permanently to the new one. Lot of functionality still missing.
It is possible to switch sessions from the session panel (either by the activate pushbutton or by executing a listview item).
Kate's session settings are currently not yet supported (last session is saved and restored by default).
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kate/app/kateappIface.cpp')
-rw-r--r-- | kate/app/kateappIface.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/kate/app/kateappIface.cpp b/kate/app/kateappIface.cpp index 57f0b63d1..3ce9229b4 100644 --- a/kate/app/kateappIface.cpp +++ b/kate/app/kateappIface.cpp @@ -89,16 +89,17 @@ bool KateAppDCOPIface::openInput (TQString text) return m_app->openInput (text); } -bool KateAppDCOPIface::activateSession (TQString session) +bool KateAppDCOPIface::activateSession(TQString session) { - m_app->oldSessionManager()->activateSession (m_app->oldSessionManager()->giveSession (session)); +// MIKE: to fix +// m_app->sessionManager()->activateSession (m_app->oldSessionManager()->giveSession (session)); return true; } -const TQString & KateAppDCOPIface::session() const +const TQString& KateAppDCOPIface::session() const { - return m_app->oldSessionManager()->activeSession()->sessionName(); + return m_app->sessionManager()->getActiveSessionName(); } // kate: space-indent on; indent-width 2; replace-tabs on; |