Branch: master

6d135079 2014-10-22 14:24:12 Timothy Pearson
Fix exec icon location and bring it into XDG compliance
M src/preferencesdialog.cpp
diff --git a/src/preferencesdialog.cpp b/src/preferencesdialog.cpp
index 69fcce2..d3bb53e 100644
--- a/src/preferencesdialog.cpp
+++ b/src/preferencesdialog.cpp
@@ -1499,7 +1499,7 @@
 	
 	path.clear();
 	path << i18n( "Profile" ) << i18n( "Command Execution" ) << i18n( "Before Connect" );
-	ProfileCmdExecBeforeConnectOptionsFrame = addPage( path, i18n( "Before Connect" ), BarIcon( "exec", TDEIcon::SizeSmall ) );
+	ProfileCmdExecBeforeConnectOptionsFrame = addPage( path, i18n( "Before Connect" ), BarIcon( "application-x-executable", TDEIcon::SizeSmall ) );
 	lo = new TQVBoxLayout( ProfileCmdExecBeforeConnectOptionsFrame );
 	lo->setSpacing( KDialog::spacingHint() );
 
@@ -1519,7 +1519,7 @@
 
 	path.clear();
 	path << i18n( "Profile" ) << i18n( "Command Execution" ) << i18n( "After Connect" );
-	ProfileCmdExecAfterConnectOptionsFrame = addPage( path, i18n( "After Connect" ), BarIcon( "exec", TDEIcon::SizeSmall ) );
+	ProfileCmdExecAfterConnectOptionsFrame = addPage( path, i18n( "After Connect" ), BarIcon( "application-x-executable", TDEIcon::SizeSmall ) );
 	lo = new TQVBoxLayout( ProfileCmdExecAfterConnectOptionsFrame );
 	lo->setSpacing( KDialog::spacingHint() );
 
@@ -1538,7 +1538,7 @@
 
 	path.clear();
 	path << i18n( "Profile" ) << i18n( "Command Execution" ) << i18n( "Before Disconnect" );
-	ProfileCmdExecBeforeDisconnectOptionsFrame = addPage( path, i18n( "Before Disconnect" ), BarIcon( "exec", TDEIcon::SizeSmall ) );
+	ProfileCmdExecBeforeDisconnectOptionsFrame = addPage( path, i18n( "Before Disconnect" ), BarIcon( "application-x-executable", TDEIcon::SizeSmall ) );
 	lo = new TQVBoxLayout( ProfileCmdExecBeforeDisconnectOptionsFrame );
 	lo->setSpacing( KDialog::spacingHint() );
 
@@ -1557,7 +1557,7 @@
 
 	path.clear();
 	path << i18n( "Profile" ) << i18n( "Command Execution" ) << i18n( "After Disconnect" );
-	ProfileCmdExecAfterDisconnectOptionsFrame = addPage( path, i18n( "Command Execute After Disconnect" ), BarIcon( "exec", TDEIcon::SizeSmall ) );
+	ProfileCmdExecAfterDisconnectOptionsFrame = addPage( path, i18n( "Command Execute After Disconnect" ), BarIcon( "application-x-executable", TDEIcon::SizeSmall ) );
 	lo = new TQVBoxLayout( ProfileCmdExecAfterDisconnectOptionsFrame );
 	lo->setSpacing( KDialog::spacingHint() );