Branch: master

0f68cf65 2014-10-22 14:24:10 Timothy Pearson
Fix exec icon location and bring it into XDG compliance
M kshowmail/kcmconfigs/configactions.cpp
M kshowmail/kcmconfigs/kshowmailconfiggeneral.desktop
diff --git a/kshowmail/kcmconfigs/configactions.cpp b/kshowmail/kcmconfigs/configactions.cpp
index 98edf8c..dccc8cd 100644
--- a/kshowmail/kcmconfigs/configactions.cpp
+++ b/kshowmail/kcmconfigs/configactions.cpp
@@ -71,7 +71,7 @@
   TQToolTip::add( chkNewMailsCommand, i18n( "Starts external program if new mail" ) );
   layMainNewMailsDown->addWidget( chkNewMailsCommand, 1, 0 );
 
-  btnNewMailsExecCommand = new KPushButton( KGuiItem( TQString(), TQString( "exec" ), i18n( "Start the selected program" ), i18n( "Start the selected program" ) ), gboxNewMails, "btnNewMailsExecCommand" );
+  btnNewMailsExecCommand = new KPushButton( KGuiItem( TQString(), TQString( "application-x-executable" ), i18n( "Start the selected program" ), i18n( "Start the selected program" ) ), gboxNewMails, "btnNewMailsExecCommand" );
   layMainNewMailsDown->addWidget( btnNewMailsExecCommand, 1, 1 );
 
   txtNewMailsCommand = new KLineEdit( gboxNewMails, "txtNewMailsCommand" );
diff --git a/kshowmail/kcmconfigs/kshowmailconfiggeneral.desktop b/kshowmail/kcmconfigs/kshowmailconfiggeneral.desktop
index 613a5e9..75bd593 100644
--- a/kshowmail/kcmconfigs/kshowmailconfiggeneral.desktop
+++ b/kshowmail/kcmconfigs/kshowmailconfiggeneral.desktop
@@ -7,7 +7,7 @@
 Comment=General Options
 Comment[de]=Allgemeine Einstellungen
 Comment[es]=Opciones generales
-Icon=exec
+Icon=application-x-executable
 X-TDE-ServiceTypes=TDECModule
 X-TDE-ModuleType=Library
 X-TDE-Library=kshowmailconfiggeneral