[Digikam-devel] [Bug 302740] Duplicate rotation/flip entries in image menu, shortcuts not working
Andreas K. Huettel
dilfridge at gentoo.org
Wed Jan 2 22:23:51 GMT 2013
https://bugs.kde.org/show_bug.cgi?id=302740
--- Comment #24 from Andreas K. Huettel <dilfridge at gentoo.org> ---
OK here's how to fix this (2 steps required):
1) in each kipi-plugin service .desktop file, add a line as for example
UntranslatedGenericName=JPEGLossless
(with the respective untranslated name of the plugin)
2) apply the following patch to libkipi (debug output not required of course):
diff -ruN libkipi-4.9.95.orig/libkipi/pluginloader.cpp
libkipi-4.9.95/libkipi/pluginloader.cpp
--- libkipi-4.9.95.orig/libkipi/pluginloader.cpp 2012-12-17
16:03:59.000000000 +0100
+++ libkipi-4.9.95/libkipi/pluginloader.cpp 2013-01-02 23:08:12.000000000
+0100
@@ -302,6 +302,7 @@
{
KService::Ptr service = *iter;
QString name = service->name();
+ QString uname = service->untranslatedGenericName();
QString library = service->library();
QStringList reqFeatures =
service->property(QString::fromLatin1("X-KIPI-ReqFeatures")).toStringList();
int binVersion =
service->property(QString::fromLatin1("X-KIPI-BinaryVersion")).toInt();
@@ -312,10 +313,12 @@
continue;
}
- if (d->ignoredPlugins.contains(name))
+ if (d->ignoredPlugins.contains(uname))
{
- kDebug(51001) << "Plugin " << name << " is in the ignore list from
host application";
+ kDebug(51001) << "Plugin " << name << "(generic name " << uname <<
") is in the ignore list from host application";
continue;
+ } else {
+ kDebug(51001) << "Plugin " << name << "(generic name " << uname <<
") is NOT in the ignore list from host application";
}
if (binVersion != kipi_binary_version)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list