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

List:       kde-commits
Subject:    kdepim/plugins/kmail/bodypartformatter
From:       Till Adam <adam () kde ! org>
Date:       2004-10-22 20:29:14
Message-ID: 20041022202914.6A77C16C05 () office ! kde ! org
[Download RAW message or body]

CVS commit by tilladam: 

from proko2, where the grass is green and the girls are pretty


  M +3 -1      Makefile.am   1.13
  M +4 -1      text_calendar.cpp   1.28


--- kdepim/plugins/kmail/bodypartformatter/Makefile.am  #1.12:1.13
@@ -6,4 +6,5 @@
            -I$(top_srcdir)/libkmime \
            -I$(top_srcdir)/mimelib \
+           -I$(top_srcdir)/libemailfunctions \
            -I$(top_srcdir) \
            $(all_includes)
@@ -17,5 +18,6 @@
 libkmail_bodypartformatter_text_vcard_la_LIBADD  = $(LIB_QT) $(LIB_KABC) \
                                                    ../../../libkdepim/libkdepim.la \
-                                                   ../../../libkmime/libkmime.la
+                                                   ../../../libkmime/libkmime.la \
+                                                   ../../../libemailfunctions/libemailfunctions.la
 
 libkmail_bodypartformatter_text_calendar_la_SOURCES = text_calendar.cpp

--- kdepim/plugins/kmail/bodypartformatter/text_calendar.cpp  #1.27:1.28
@@ -47,4 +47,6 @@
 #include <kmail/kmcommands.h>
 
+#include <email.h>
+
 #include <kglobal.h>
 #include <klocale.h>
@@ -128,5 +130,6 @@ class UrlHandler : public KMail::Interfa
       else {
         for ( it = attendees.begin(); it != attendees.end(); ++it ) {
-          if( (*it)->email() == receiver ) {
+          // match only the email part, not the name
+          if( KPIM::compareEmail( (*it)->email(), receiver, false ) ) {
             // We are the current one, and even the receiver, note
             // this and quit searching.


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

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