Branch: master

ed49d042 2014-10-13 12:49:21 Timothy Pearson
Bring undo, redo, find, and revert icons into XDG compliance
M PerlTQt/examples/richedit/imageCollection.pm
M PerlTQt/examples/richedit/richedit.pl
diff --git a/PerlTQt/examples/richedit/imageCollection.pm b/PerlTQt/examples/richedit/imageCollection.pm
index 9ba9880..3e9e910 100644
--- a/PerlTQt/examples/richedit/imageCollection.pm
+++ b/PerlTQt/examples/richedit/imageCollection.pm
@@ -1398,7 +1398,7 @@
     "fileopen" => [$image_4_data, 22, 22, 32, undef, 1],
     "filesave" => [$image_5_data, 22, 22, 32, undef, 1],
     "print" => [$image_6_data, 22, 22, 32, undef, 1],
-    "redo" => [$image_7_data, 22, 22, 32, undef, 1],
+    "edit-redo" => [$image_7_data, 22, 22, 32, undef, 1],
     "searchfind" => [$image_8_data, 22, 22, 32, undef, 1],
     "textbold" => [$image_9_data, 22, 22, 32, undef, 1],
     "textcenter" => [$image_10_data, 22, 22, 32, undef, 1],
@@ -1406,7 +1406,7 @@
     "textleft" => [$image_12_data, 22, 22, 32, undef, 1],
     "textright" => [$image_13_data, 22, 22, 32, undef, 1],
     "textunder" => [$image_14_data, 22, 22, 32, undef, 1],
-    "undo" => [$image_15_data, 22, 22, 32, undef, 1],
+    "edit-undo" => [$image_15_data, 22, 22, 32, undef, 1],
 );
 
 my %images = ();
diff --git a/PerlTQt/examples/richedit/richedit.pl b/PerlTQt/examples/richedit/richedit.pl
index d2dee84..3d459f7 100644
--- a/PerlTQt/examples/richedit/richedit.pl
+++ b/PerlTQt/examples/richedit/richedit.pl
@@ -120,12 +120,12 @@
     fileExitAction->setMenuText(this->trUtf8("E&xit"));
     fileExitAction->setAccel(TQt::KeySequence(int(0)));
     editUndoAction= TQt::Action(this,"editUndoAction");
-    editUndoAction->setIconSet(TQt::IconSet(uic_load_pixmap_EditorForm("undo")));
+    editUndoAction->setIconSet(TQt::IconSet(uic_load_pixmap_EditorForm("edit-undo")));
     editUndoAction->setText(this->trUtf8("Undo"));
     editUndoAction->setMenuText(this->trUtf8("&Undo"));
     editUndoAction->setAccel(TQt::KeySequence(int(4194394)));
     editRedoAction= TQt::Action(this,"editRedoAction");
-    editRedoAction->setIconSet(TQt::IconSet(uic_load_pixmap_EditorForm("redo")));
+    editRedoAction->setIconSet(TQt::IconSet(uic_load_pixmap_EditorForm("edit-redo")));
     editRedoAction->setText(this->trUtf8("Redo"));
     editRedoAction->setMenuText(this->trUtf8("&Redo"));
     editRedoAction->setAccel(TQt::KeySequence(int(4194393)));