summaryrefslogtreecommitdiffstats
path: root/kate/app/kateappIface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/app/kateappIface.cpp')
-rw-r--r--kate/app/kateappIface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kate/app/kateappIface.cpp b/kate/app/kateappIface.cpp
index 3ce9229b4..bc06f1b78 100644
--- a/kate/app/kateappIface.cpp
+++ b/kate/app/kateappIface.cpp
@@ -23,6 +23,8 @@
#include "katedocmanager.h"
#include "katemainwindow.h"
+// FIXME: review Kate's DCOP interface for session management when the new session code is ready
+
KateAppDCOPIface::KateAppDCOPIface (KateApp *app) : DCOPObject ("KateApplication")
, m_app (app)
{
@@ -91,9 +93,7 @@ bool KateAppDCOPIface::openInput (TQString text)
bool KateAppDCOPIface::activateSession(TQString session)
{
-// MIKE: to fix
-// m_app->sessionManager()->activateSession (m_app->oldSessionManager()->giveSession (session));
-
+ m_app->sessionManager()->activateSession(m_app->sessionManager()->getSessionIdFromName(session));
return true;
}