Bug 143529

Summary: popup displays hardcoded kmail icon, instead the user's mua's one gets looked up
Product: [Applications] kontact Reporter: Carsten Lohrke <carstenlohrke>
Component: special datesAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bjoern, bugs.kde.org, winter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Carsten Lohrke 2007-03-28 01:23:01 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Gentoo Packages

In the popupmenu the KMail icon is displayed, while via mailContact -> kapp.invokeMailer a distinct application might be called.

sdsummarywidget.cpp-575-void SDSummaryWidget::popupMenu( const QString &uid )
sdsummarywidget.cpp-576-{
sdsummarywidget.cpp-577-  KPopupMenu popup( this );
sdsummarywidget.cpp:578:  popup.insertItem( KGlobal::iconLoader()->loadIcon( "kmail", KIcon::Small ),
sdsummarywidget.cpp-579-                    i18n( "Send &Mail" ), 0 );
sdsummarywidget.cpp-580-  popup.insertItem( KGlobal::iconLoader()->loadIcon( "kaddressbook", KIcon::Small ),
sdsummarywidget.cpp-581-                    i18n( "View &Contact" ), 1 );
sdsummarywidget.cpp-582-
sdsummarywidget.cpp-583-  switch ( popup.exec( QCursor::pos() ) ) {
sdsummarywidget.cpp-584-    case 0:
sdsummarywidget.cpp-585-      mailContact( uid );
sdsummarywidget.cpp-586-      break;
sdsummarywidget.cpp-587-    case 1:
sdsummarywidget.cpp-588-      viewContact( uid );
Comment 1 Björn Ruberg 2010-01-04 00:37:15 UTC
Ahm, sorry. What's exactly is the problem?
Comment 2 Erik Quaeghebeur 2010-01-04 10:44:47 UTC
See http://bugs.gentoo.org/show_bug.cgi?id=136810
It was about a dependency on kmail just because of the kmail icon.
I don't know if it is still an issue in 4.x
Comment 3 Allen Winter 2010-01-04 14:13:19 UTC
I fixed this a long time ago in the KDE 4 series.
We now use a general "mail-new-message" icon.