[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Fix : #45959 (normal): Remove / Add applet can result in adding two or more identical applets
From:       Laurent Montel <lmontel () mandrakesoft ! com>
Date:       2002-10-28 9:17:37
[Download RAW message or body]

Hi,

To fix this bug we must change in 
void ContainerArea::addApplet( const QString& desktopFile )
{
    AppletContainer* a = 
PluginManager::pluginManager()->createAppletContainer(
        desktopFile,
-        false,         // not startup
+       true,
        QString::null, // no config
	_opMenu,
        viewport() );
.....

But what is the usefull of this boolean ?

There is two policies when we start kicker and after when we add new applet.
Is it normal ?

Regards.

----------------------------------------------------------------
AppletContainer* PluginManager::createAppletContainer(
    const QString& desktopFile, bool isStartup, const QString& configFile, 
QPopupMenu* opMenu, QWidget* parent )
----------------------------------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic