--Boundary-00=_mb9wKvTdOZ1PtPk Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, i noticed in the kwin multiple desktops config there is a checkbox for=20 enabling the different activities for each desktop thing in plasma, but it= =20 was a but uuh, fake. this patch enables it, using a new plasma dbus call done for that. Cheers, Marco Martin --Boundary-00=_mb9wKvTdOZ1PtPk Content-Type: text/x-patch; charset="UTF-8"; name="activityforeachdesktop.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="activityforeachdesktop.diff" Index: main.ui =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2D-- main.ui (revision 1027345) +++ main.ui (working copy) @@ -84,9 +84,6 @@ =2D =2D false =2D Different activity for each desktop Index: main.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2D-- main.cpp (revision 1027345) +++ main.cpp (working copy) @@ -22,6 +22,7 @@ =20 #include #include +#include =20 #include #include @@ -286,6 +287,10 @@ slotEffectSelectionChanged( m_ui->effectComboBox->currentIndex() ); // TODO: plasma stuff =20 + QDBusInterface interface("org.kde.plasma-desktop", "/App"); + bool perVirtualDesktopViews =3D interface.call("perVirtualDesktopViews= ").arguments().first().toBool(); + m_ui->activityCheckBox->setChecked(perVirtualDesktopViews); + emit changed(false); } =20 @@ -353,6 +358,9 @@ QDBusMessage message =3D QDBusMessage::createSignal("/KWin", "org.kde.= KWin", "reloadConfig"); QDBusConnection::sessionBus().send(message); =20 + QDBusInterface interface("org.kde.plasma-desktop", "/App"); + interface.call("setPerVirtualDesktopViews", (m_ui->activityCheckBox->i= sChecked())); + emit changed(false); } =20 --Boundary-00=_mb9wKvTdOZ1PtPk Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --Boundary-00=_mb9wKvTdOZ1PtPk--