[Kde-pim] [patch] Improved user agent string in KMail

Jarosław Staniek js at iidea.pl
Wed Feb 6 16:17:33 GMT 2008


Hello,
For review:

- use KdeSubversion package to define KMAIL_SVN_REVISION_STRING and 
KMAIL_SVN_LAST_CHANGE macros;

- then use them in KMMessage::initHeader( uint )

For the latter, a new KProtocolManager::userAgentForApplication() function is 
used (just commited to kdelibs trunk).

Perhaps we could add an #ifdef for KDElibs 4.0.x, falling back to
  previous setHeaderField("User-Agent", "KMail/" KMAIL_VERSION ) ?

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: user-agent.patch
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080206/2e8329b9/attachment.ksh>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list