Branch: master

a562ef20 2014-10-14 00:15:37 Timothy Pearson
Bring centrejust, leftjust, rightjust, text_left, text_right, text_bold, text_italic, text_under, text_strike, and spellcheck icons into XDG compliance
M kdict/options.cpp
M kopete/kopete/chatwindow/krichtexteditpart.cpp
diff --git a/kdict/options.cpp b/kdict/options.cpp
index 4048bad..0d6b65c 100644
--- a/kdict/options.cpp
+++ b/kdict/options.cpp
@@ -641,7 +641,7 @@
     f_List->insertItem(new FontListItem(global->fontName(i), global->font(i)));
 
   //************ Layout ***************************
-  layoutTab = addPage(i18n("Layout"),i18n("Customize Output Format"), BarIcon("text_left", TDEIcon::SizeMedium ));
+  layoutTab = addPage(i18n("Layout"),i18n("Customize Output Format"), BarIcon("format-text-direction-ltr", TDEIcon::SizeMedium ));
 
   TQVBoxLayout *vbox = new TQVBoxLayout(layoutTab, 0, spacingHint());
 
diff --git a/kopete/kopete/chatwindow/krichtexteditpart.cpp b/kopete/kopete/chatwindow/krichtexteditpart.cpp
index 6995f68..19b67ff 100644
--- a/kopete/kopete/chatwindow/krichtexteditpart.cpp
+++ b/kopete/kopete/chatwindow/krichtexteditpart.cpp
@@ -130,7 +130,7 @@
 	connect( enableRichText, TQT_SIGNAL( toggled(bool) ),
 			this, TQT_SLOT( slotSetRichTextEnabled(bool) ) );
 
-	checkSpelling = new TDEAction( i18n("Check &Spelling"), "spellcheck", 0,
+	checkSpelling = new TDEAction( i18n("Check &Spelling"), "tools-check-spelling", 0,
 				TQT_TQOBJECT(editor), TQT_SLOT( checkSpelling() ), ac, "check_spelling" );
 
 	//Fg Color
@@ -156,17 +156,17 @@
 		this, TQT_SLOT( setFontSize(int) ) );
 
 	//Formatting
-	action_bold = new TDEToggleAction( i18n("&Bold"), "text_bold", CTRL+Key_B,
+	action_bold = new TDEToggleAction( i18n("&Bold"), "format-text-bold", CTRL+Key_B,
 			ac, "format_bold" );
 	connect( action_bold, TQT_SIGNAL( toggled(bool) ),
 		this, TQT_SLOT( setBold(bool) ) );
 
-	action_italic = new TDEToggleAction( i18n("&Italic"), "text_italic", CTRL+Key_I,
+	action_italic = new TDEToggleAction( i18n("&Italic"), "format-text-italic", CTRL+Key_I,
 			ac, "format_italic" );
 	connect( action_italic, TQT_SIGNAL( toggled(bool) ),
 		this, TQT_SLOT( setItalic(bool) ) );
 
-	action_underline = new TDEToggleAction( i18n("&Underline"), "text_under", CTRL+Key_U,
+	action_underline = new TDEToggleAction( i18n("&Underline"), "format-text-underline", CTRL+Key_U,
 				ac, "format_underline" );
 	connect( action_underline, TQT_SIGNAL( toggled(bool) ),
 		this, TQT_SLOT( setUnderline(bool) ) );
@@ -180,7 +180,7 @@
 	updateFont();
 
 	//Alignment
-	action_align_left = new TDEToggleAction( i18n("Align &Left"), "text_left", 0,
+	action_align_left = new TDEToggleAction( i18n("Align &Left"), "format-text-direction-ltr", 0,
 			ac, "format_align_left" );
 	connect( action_align_left, TQT_SIGNAL( toggled(bool) ),
 		this, TQT_SLOT( setAlignLeft(bool) ) );
@@ -190,7 +190,7 @@
 	connect( action_align_center, TQT_SIGNAL( toggled(bool) ),
 		this, TQT_SLOT( setAlignCenter(bool) ) );
 
-	action_align_right = new TDEToggleAction( i18n("Align &Right"), "text_right", 0,
+	action_align_right = new TDEToggleAction( i18n("Align &Right"), "format-text-direction-rtl", 0,
 			ac, "format_align_right" );
 	connect( action_align_right, TQT_SIGNAL( toggled(bool) ),
 		this, TQT_SLOT( setAlignRight(bool) ) );