Revision 730489

Go back to digest for 4th November 2007

Other in KDE Base

Frerich Raabe committed changes in /trunk/KDE/kdebase/workspace/plasma:

- A little program for running plasma applets in a window of their own; makes developing plasma applets nicer since this makes it unnecessary to restart the desktop all the time when installing a new version of an applet. Invoke this like 'plasmoidviewer clock' or 'plasmoidviewer knewsticker'.

Two known issues:
1.) Plasma::Containment::addApplet seems to return something no matter what.
I would have thought it returns a null pointer when given some bogus plugin name, so that I can do my own error handling. Instead I get an ugly 'The object couldn't be loaded' dummy applet.

2.) The size of the viewer window is wrong for many plasma applets; this is because they appear in an animation (which starts very small). It works correctly for KNewsTicker since KNT simply hardcodes a size hint :-}

File Changes

Added 4 files
  • /trunk/KDE/kdebase/workspace/plasma/plasmoidviewer
  •   /checker.png
  •   /CMakeLists.txt
  •   /main.cpp
Modified 1 files
  • /trunk/KDE/kdebase/workspace/plasma/CMakeLists.txt
5 files changed in total