Revision abdca6f...
Go back to digest for 30th March 2014Features in KDE Base
Marco Martin committed changes in [plasma-framework] /shell:
Make the desktop scripting activity aware:
adapt the desktop scripting from the time when Containment == activity to creating actual activities
* activities() -> desktops()
* activityById() -> desktopById()
* activityForScreen() -> desktopForScreen()
To create a new activity, there is the new global function
createActivity(activtyName, containmentPlugin (optional))
when you want to access the actual containments created by the activity, you do
Array[containments] = desktopsForActivity(activityId)
File Changes
Modified 10 files
- /shell
- src/activity.cpp
- src/activity.h
- src/interactiveconsole.cpp
- src/interactiveconsole.h
- srccorona.cpp
- srccorona.h
- src/scripting/desktopscriptengine.cpp
- src/scripting/desktopscriptengine.h
- src/scripting/scriptengine.cpp
- src/scripting/scriptengine.h
10 files changed in total