From kde-imaging Tue Feb 17 16:47:33 2009 From: =?ISO-8859-1?Q?Aur=E9lien_G=E2teau?= Date: Tue, 17 Feb 2009 16:47:33 +0000 To: kde-imaging Subject: Re: [Kde-imaging] New printimages plugin Message-Id: <499AEA25.70604 () free ! fr> X-MARC-Message: https://marc.info/?l=kde-imaging&m=123488930800926 Angelo Naselli wrote: > martedì 17 febbraio 2009 alle 12:45, Angelo Naselli ha scritto: >>> Should i provide a desktop file only for both? >> hmm that shows them once, but they are both >> enabled or disabled :/ >> > A little bit of investigation told me it's a desktop > file problem. if i'm not wrong we have an only file > for every kipiplugin_xxxx.so file even if it implements > more actions. > Since i have two desktop file pointing to the following entry: > X-KDE-Library=kipiplugin_printimages > Plugin_PrintImages::setup() is called twice, and that means > it adds two icons every time. > To manage this issue i should have or > - two different libraries kipiplugin_xxxx.so and indeed two plugins iuc > - one desktop file, two actions that could be enabled or disabled togheter I would go for one desktop file since there is only one plugin, which happen to provide two actions. Is there a need to have two entries in the plugin list? Aurélien _______________________________________________ Kde-imaging mailing list Kde-imaging@kde.org https://mail.kde.org/mailman/listinfo/kde-imaging