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

List:       kde-pim
Subject:    Re: [Kde-pim] KResource plugin selection
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2008-08-28 23:37:21
Message-ID: 200808290137.26161.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


On Tuesday 26 August 2008, Kevin Krammer wrote:

> I decided to do an assistant type approach where the first page shows the
> plugins in a list on the left and the selected plugin's description on the
> right.
> Description as in KRES::Factory::typeDescription(), however this is
> currently always empty since the .desktop files miss the respective Comment
> field (see attachment)

New patch for review.

You can find a couple of screenshots of this assistant and its use of the 
descriptions here:
http://people.freedesktop.org/~krake/akonadi-kabcresource.tar.bz2

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

["kabc-desktop-files.diff" (text/x-diff)]

Index: kdepimlibs/kabc/plugins/file/file.desktop
===================================================================
--- kdepimlibs/kabc/plugins/file/file.desktop	(Revision 853139)
+++ kdepimlibs/kabc/plugins/file/file.desktop	(Arbeitskopie)
@@ -37,6 +37,7 @@
 Name[x-test]=xxFilexx
 Name[zh_CN]=文件
 Name[zh_TW]=檔案
+Comment=Provides access to contacts stored in a single local file. Supports standard \
VCard files and other formats depending on available plugins  X-KDE-Library=kabc_file
 Type=Service
 X-KDE-ServiceTypes=KResources/Plugin
Index: kdepimlibs/kabc/plugins/ldapkio/ldapkio.desktop
===================================================================
--- kdepimlibs/kabc/plugins/ldapkio/ldapkio.desktop	(Revision 853139)
+++ kdepimlibs/kabc/plugins/ldapkio/ldapkio.desktop	(Arbeitskopie)
@@ -3,6 +3,7 @@
 Name[sr]=ЛДАП
 Name[th]=ระบบ LDAP
 Name[x-test]=xxLDAPxx
+Comment=Provides access to contacts stored on a LDAP directory server
 X-KDE-Library=kabc_ldapkio
 Type=Service
 X-KDE-ServiceTypes=KResources/Plugin
Index: kdepimlibs/kabc/plugins/net/net.desktop
===================================================================
--- kdepimlibs/kabc/plugins/net/net.desktop	(Revision 853139)
+++ kdepimlibs/kabc/plugins/net/net.desktop	(Arbeitskopie)
@@ -38,6 +38,7 @@
 Name[x-test]=xxNetworkxx
 Name[zh_CN]=网络
 Name[zh_TW]=網路
+Comment=Provides access to contacts in remote files using KDE's network framework \
KIO. Supports standard VCard files and other formats depending on available plugins  \
X-KDE-Library=kabc_net  Type=Service
 X-KDE-ServiceTypes=KResources/Plugin
Index: kdepimlibs/kabc/plugins/dir/dir.desktop
===================================================================
--- kdepimlibs/kabc/plugins/dir/dir.desktop	(Revision 853139)
+++ kdepimlibs/kabc/plugins/dir/dir.desktop	(Arbeitskopie)
@@ -38,6 +38,7 @@
 Name[x-test]=xxDirectoryxx
 Name[zh_CN]=目录
 Name[zh_TW]=目錄
+Comment=Provides ccess to contacts, each stored in a single file, in a given \
directory. Supports standard VCard file and other formats depending on availability \
of plugins  X-KDE-Library=kabc_directory
 Type=Service
 X-KDE-ServiceTypes=KResources/Plugin
Index: kdepim/kresources/scalix/kabc/scalix.desktop
===================================================================
--- kdepim/kresources/scalix/kabc/scalix.desktop	(Revision 853139)
+++ kdepim/kresources/scalix/kabc/scalix.desktop	(Arbeitskopie)
@@ -30,6 +30,7 @@
 Name[x-test]=xxAddressbook on Scalix Server via KMailxx
 Name[zh_CN]=通过 KMail 访问 Scalix 服务器上的地址簿
 Name[zh_TW]=透過 KMail 取得 Scalix 伺服器上的通訊錄
+Comment=Provides access to contacts stored on a Scalix server using IMAP via KMail \
or Kontact  X-KDE-Library=kabc_scalix
 Type=Service
 X-KDE-ServiceTypes=KResources/Plugin
Index: kdepim/kresources/groupwise/kabc_groupwise.desktop
===================================================================
--- kdepim/kresources/groupwise/kabc_groupwise.desktop	(Revision 853139)
+++ kdepim/kresources/groupwise/kabc_groupwise.desktop	(Arbeitskopie)
@@ -27,7 +27,7 @@
 Name[ko]=Novell GroupWise 서버
 Name[lt]=Novell GroupWise serveris
 Name[lv]=Novell GroupWise serveris
-Name[ms]=Pelayan Novell GroupWise 
+Name[ms]=Pelayan Novell GroupWise
 Name[nb]=Novell GroupWise-tjener
 Name[nds]=Novell-GroupWise-Server
 Name[ne]=नोभेल समूहगत सर्भर
@@ -45,6 +45,7 @@
 Name[x-test]=xxNovell GroupWise Serverxx
 Name[zh_CN]=Novell GroupWise 服务器
 Name[zh_TW]=Novell 群組伺服器
+Comment=Provides access to contacts stored on a Novell GroupWise server
 X-KDE-Library=kabc_groupwise
 Type=Service
 X-KDE-ServiceTypes=KResources/Plugin
Index: kdepim/kresources/slox/kabc_ox.desktop
===================================================================
--- kdepim/kresources/slox/kabc_ox.desktop	(Revision 853139)
+++ kdepim/kresources/slox/kabc_ox.desktop	(Arbeitskopie)
@@ -43,6 +43,7 @@
 Name[x-test]=xxOpenXchange Serverxx
 Name[zh_CN]=OpenXchange 服务器
 Name[zh_TW]=OpenXchange 伺服器
+Comment=Provides access to contacts stored on an Open-Xchange server
 X-KDE-Library=kabc_slox
 Type=Service
 X-KDE-ServiceTypes=KResources/Plugin
Index: kdepim/kresources/groupdav/kabc_groupdav.desktop
===================================================================
--- kdepim/kresources/groupdav/kabc_groupdav.desktop	(Revision 853139)
+++ kdepim/kresources/groupdav/kabc_groupdav.desktop	(Arbeitskopie)
@@ -46,6 +46,7 @@
 Name[x-test]=xxGroupDAV Server (e.g. OpenGroupware)xx
 Name[zh_CN]=GroupDAV 服务器(如 OpenGroupware)
 Name[zh_TW]=GroupDAV 伺服器 (如: OpenGroupware)
+Comment=Provides access to contacts stored in address books on GroupDAV enabled \
servers, e.g. OpenGroupware  X-KDE-Library=kabc_groupdav
 Type=Service
 X-KDE-ServiceTypes=KResources/Plugin
Index: kdepim/kresources/kolab/kabc/kolab.desktop
===================================================================
--- kdepim/kresources/kolab/kabc/kolab.desktop	(Revision 853139)
+++ kdepim/kresources/kolab/kabc/kolab.desktop	(Arbeitskopie)
@@ -47,6 +47,7 @@
 Name[x-test]=xxAddressbook on IMAP Server via KMailxx
 Name[zh_CN]=通过 KMail 访问 IMAP 服务器上的地址簿
 Name[zh_TW]=透過 KMail 取得 IMAP 伺服器上的通訊錄
+Comment=Provides access to contacts stored on a Kolab server using IMAP via KMail or \
Kontact  X-KDE-Library=kabc_kolab
 Type=Service
 X-KDE-ServiceTypes=KResources/Plugin
Index: kdepim/kresources/akonadi/kabc/akonadi.desktop
===================================================================
--- kdepim/kresources/akonadi/kabc/akonadi.desktop	(Revision 853139)
+++ kdepim/kresources/akonadi/kabc/akonadi.desktop	(Arbeitskopie)
@@ -1,7 +1,8 @@
 [Desktop Entry]
-Name=Akonadi
-Name[de]=Akonadi-Ressource
+Name=Akonadi Address Books
+Name[de]=Akonadi Adressbücher
 Name[x-test]=xxAkonadixx
+Comment=Provides access to contacts stored in Akonadi address book folders
 X-KDE-Library=kabc_akonadi
 Type=Service
 ServiceTypes=KResources/Plugin
Index: kdepim/kresources/groupware/kabc_groupware.desktop
===================================================================
--- kdepim/kresources/groupware/kabc_groupware.desktop	(Revision 853139)
+++ kdepim/kresources/groupware/kabc_groupware.desktop	(Arbeitskopie)
@@ -26,7 +26,7 @@
 Name[ko]=그룹웨어 서버
 Name[lt]=Grupinio darbo serveris
 Name[lv]=Groupware serveris
-Name[ms]=Pelayan Groupware 
+Name[ms]=Pelayan Groupware
 Name[nb]=Groupware-tjener
 Name[nds]=Groupware-Server
 Name[ne]=समूहगत सर्भर
@@ -45,6 +45,7 @@
 Name[x-test]=xxGroupware Serverxx
 Name[zh_CN]=群件服务器
 Name[zh_TW]=群組伺服器
+Comment=Provides access to contacts stored on a Groupware server.
 X-KDE-Library=kabc_groupware
 Type=Service
 X-KDE-ServiceTypes=KResources/Plugin


["signature.asc" (application/pgp-signature)]

_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

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

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