diff --git a/dolphin/ollie-session-here b/dolphin/ollie-session-here index 5813eb1..e7f6949 100755 --- a/dolphin/ollie-session-here +++ b/dolphin/ollie-session-here @@ -8,7 +8,7 @@ TARGET="$(cd "$TARGET" 2>/dev/null && pwd)" || TARGET="$PWD" RESULT=$(dbus-send --session --dest=org.ollie.SessionManager --type=method_call --print-reply \ /org/ollie/SessionManager org.ollie.SessionManager.CreateSession \ - string:"$TARGET" string:"" string:"" string:"default" 2>&1) + string:"$TARGET" string:"" string:"" string:"default" string:"" 2>&1) SESSION_ID=$(echo "$RESULT" | grep 'string "' | head -1 | sed 's/.*string "\(.*\)"/\1/') diff --git a/kate/ollie_kate.cpp b/kate/ollie_kate.cpp index 90ee77c..34b6a86 100644 --- a/kate/ollie_kate.cpp +++ b/kate/ollie_kate.cpp @@ -587,7 +587,7 @@ void OllieKateView::newSession() QString backend = m_plugin->defaultBackend(); QString model = m_plugin->defaultModel(); - QDBusReply reply = m_iface->call("CreateSession", cwd, backend, model, "default"); + QDBusReply reply = m_iface->call("CreateSession", cwd, backend, model, "default", QString()); if (reply.isValid()) { m_sessionId = reply.value(); m_rawChat.clear(); diff --git a/plasmoid/plugin/olliedbusclient.cpp b/plasmoid/plugin/olliedbusclient.cpp index 0a24861..2972704 100644 --- a/plasmoid/plugin/olliedbusclient.cpp +++ b/plasmoid/plugin/olliedbusclient.cpp @@ -271,7 +271,7 @@ QString OllieDBusClient::createSession(const QString &cwd) { QString dir = cwd.isEmpty() ? QDir::homePath() : cwd; // Use asyncCall — we'll pick up the new session via the SessionCreated signal - m_iface->asyncCall("CreateSession", dir, QString(), QString(), QString("default")); + m_iface->asyncCall("CreateSession", dir, QString(), QString(), QString("default"), QString()); return QString(); // ID not available synchronously; signal will trigger refresh } diff --git a/test-e2e.sh b/test-e2e.sh index 0bc1ee2..39bc90b 100755 --- a/test-e2e.sh +++ b/test-e2e.sh @@ -23,7 +23,7 @@ echo "" echo "=== CreateSession ===" RESULT=$(dbus-send --session --dest=$SERVICE --type=method_call --print-reply \ $PATH_OBJ $IFACE.CreateSession \ - string:"$HOME" string:"" string:"" string:"default") + string:"$HOME" string:"" string:"" string:"default" string:"") echo "$RESULT" SESSION_ID=$(echo "$RESULT" | grep 'string "' | head -1 | sed 's/.*string "//;s/"//') echo "Session ID: $SESSION_ID" diff --git a/test-peers.sh b/test-peers.sh index 0ed9bbd..d1572fa 100755 --- a/test-peers.sh +++ b/test-peers.sh @@ -9,12 +9,12 @@ IFACE="org.ollie.SessionManager" echo "=== Create session A ===" A=$(dbus-send --session --dest=$SERVICE --type=method_call --print-reply \ - $OBJ $IFACE.CreateSession string:"$HOME" string:"" string:"" string:"default" | grep 'string "' | head -1 | sed 's/.*string "//;s/"//') + $OBJ $IFACE.CreateSession string:"$HOME" string:"" string:"" string:"default" string:"" | grep 'string "' | head -1 | sed 's/.*string "//;s/"//') echo "A: $A" echo "=== Create session B ===" B=$(dbus-send --session --dest=$SERVICE --type=method_call --print-reply \ - $OBJ $IFACE.CreateSession string:"$HOME" string:"" string:"" string:"default" | grep 'string "' | head -1 | sed 's/.*string "//;s/"//') + $OBJ $IFACE.CreateSession string:"$HOME" string:"" string:"" string:"default" string:"" | grep 'string "' | head -1 | sed 's/.*string "//;s/"//') echo "B: $B" echo "" diff --git a/tray/ollie_tray.cpp b/tray/ollie_tray.cpp index e1409d0..75c2d8e 100644 --- a/tray/ollie_tray.cpp +++ b/tray/ollie_tray.cpp @@ -137,7 +137,7 @@ void OllieTray::onStateChanged(const QString &session_id, const QString &new_sta void OllieTray::newSession() { QString cwd = QDir::homePath(); - QDBusReply reply = m_iface->call("CreateSession", cwd, QString(), QString(), "default"); + QDBusReply reply = m_iface->call("CreateSession", cwd, QString(), QString(), "default", QString()); if (reply.isValid()) { qDebug() << "Created session:" << reply.value(); } else {