Browse Source

Bring centrejust, leftjust, rightjust, text_left, text_right, text_bold, text_italic, text_under, text_strike, and spellcheck icons into XDG compliance

Timothy Pearson 4 years ago
parent
commit
96608b99bf
33 changed files with 10 additions and 10 deletions
  1. 1
    1
      kate/part/katedocument.cpp
  2. 4
    4
      kate/part/kateschema.cpp
  3. 2
    2
      kate/part/katespell.cpp
  4. 0
    0
      pics/crystalsvg/cr16-action-format-text-bold.png
  5. 0
    0
      pics/crystalsvg/cr16-action-format-text-direction-ltr.png
  6. 0
    0
      pics/crystalsvg/cr16-action-format-text-direction-rtl.png
  7. 0
    0
      pics/crystalsvg/cr16-action-format-text-italic.png
  8. 0
    0
      pics/crystalsvg/cr16-action-format-text-strikethrough.png
  9. 0
    0
      pics/crystalsvg/cr16-action-format-text-underline.png
  10. 0
    0
      pics/crystalsvg/cr16-action-tools-check-spelling.png
  11. 0
    0
      pics/crystalsvg/cr22-action-format-justify-center.png
  12. 0
    0
      pics/crystalsvg/cr22-action-format-justify-left.png
  13. 0
    0
      pics/crystalsvg/cr22-action-format-justify-right.png
  14. 0
    0
      pics/crystalsvg/cr22-action-format-text-bold.png
  15. 0
    0
      pics/crystalsvg/cr22-action-format-text-direction-ltr.png
  16. 0
    0
      pics/crystalsvg/cr22-action-format-text-direction-rtl.png
  17. 0
    0
      pics/crystalsvg/cr22-action-format-text-italic.png
  18. 0
    0
      pics/crystalsvg/cr22-action-format-text-strikethrough.png
  19. 0
    0
      pics/crystalsvg/cr22-action-format-text-underline.png
  20. 0
    0
      pics/crystalsvg/cr22-action-tools-check-spelling.png
  21. 0
    0
      pics/crystalsvg/cr32-action-format-justify-center.png
  22. 0
    0
      pics/crystalsvg/cr32-action-format-justify-left.png
  23. 0
    0
      pics/crystalsvg/cr32-action-format-justify-right.png
  24. 0
    0
      pics/crystalsvg/cr32-action-format-text-bold.png
  25. 0
    0
      pics/crystalsvg/cr32-action-format-text-direction-ltr.png
  26. 0
    0
      pics/crystalsvg/cr32-action-format-text-direction-rtl.png
  27. 0
    0
      pics/crystalsvg/cr32-action-format-text-italic.png
  28. 0
    0
      pics/crystalsvg/cr32-action-format-text-strikethrough.png
  29. 0
    0
      pics/crystalsvg/cr32-action-format-text-underline.png
  30. 0
    0
      pics/crystalsvg/cr32-action-tools-check-spelling.png
  31. 1
    1
      tdeparts/tests/plugin_spellcheck.cpp
  32. 1
    1
      tdeui/kstdaction_p.h
  33. 1
    1
      tdeui/ktextedit.cpp

+ 1
- 1
kate/part/katedocument.cpp View File

@@ -522,7 +522,7 @@ TQPixmap KateDocument::configPagePixmap (uint number, int size) const
522 522
       return BarIcon("edit", size);
523 523
 
524 524
     case 4:
525
-      return BarIcon("rightjust", size);
525
+      return BarIcon("format-justify-right", size);
526 526
 
527 527
     case 5:
528 528
       return BarIcon("document-save", size);

+ 4
- 4
kate/part/kateschema.cpp View File

@@ -1051,10 +1051,10 @@ KateStyleListView::KateStyleListView( TQWidget *parent, bool showUseDefaults )
1051 1051
 {
1052 1052
   setSorting( -1 ); // disable sorting, let the styles appear in their defined order
1053 1053
   addColumn( i18n("Context") );
1054
-  addColumn( SmallIconSet("text_bold"), TQString::null );
1055
-  addColumn( SmallIconSet("text_italic"), TQString::null );
1056
-  addColumn( SmallIconSet("text_under"), TQString::null );
1057
-  addColumn( SmallIconSet("text_strike"), TQString::null );
1054
+  addColumn( SmallIconSet("format-text-bold"), TQString::null );
1055
+  addColumn( SmallIconSet("format-text-italic"), TQString::null );
1056
+  addColumn( SmallIconSet("format-text-underline"), TQString::null );
1057
+  addColumn( SmallIconSet("format-text-strikethrough"), TQString::null );
1058 1058
   addColumn( i18n("Normal") );
1059 1059
   addColumn( i18n("Selected") );
1060 1060
   addColumn( i18n("Background") );

+ 2
- 2
kate/part/katespell.cpp View File

@@ -54,10 +54,10 @@ KateSpell::~KateSpell()
54 54
 void KateSpell::createActions( TDEActionCollection* ac )
55 55
 {
56 56
    KStdAction::spelling( this, TQT_SLOT(spellcheck()), ac );
57
-   TDEAction *a = new TDEAction( i18n("Spelling (from cursor)..."), "spellcheck", 0, this, TQT_SLOT(spellcheckFromCursor()), ac, "tools_spelling_from_cursor" );
57
+   TDEAction *a = new TDEAction( i18n("Spelling (from cursor)..."), "tools-check-spelling", 0, this, TQT_SLOT(spellcheckFromCursor()), ac, "tools_spelling_from_cursor" );
58 58
    a->setWhatsThis(i18n("Check the document's spelling from the cursor and forward"));
59 59
 
60
-   m_spellcheckSelection = new TDEAction( i18n("Spellcheck Selection..."), "spellcheck", 0, this, TQT_SLOT(spellcheckSelection()), ac, "tools_spelling_selection" );
60
+   m_spellcheckSelection = new TDEAction( i18n("Spellcheck Selection..."), "tools-check-spelling", 0, this, TQT_SLOT(spellcheckSelection()), ac, "tools_spelling_selection" );
61 61
    m_spellcheckSelection->setWhatsThis(i18n("Check spelling of the selected text"));
62 62
 }
63 63
 

pics/crystalsvg/cr16-action-text_bold.png → pics/crystalsvg/cr16-action-format-text-bold.png View File


pics/crystalsvg/cr16-action-text_left.png → pics/crystalsvg/cr16-action-format-text-direction-ltr.png View File


pics/crystalsvg/cr16-action-text_right.png → pics/crystalsvg/cr16-action-format-text-direction-rtl.png View File


pics/crystalsvg/cr16-action-text_italic.png → pics/crystalsvg/cr16-action-format-text-italic.png View File


pics/crystalsvg/cr16-action-text_strike.png → pics/crystalsvg/cr16-action-format-text-strikethrough.png View File


pics/crystalsvg/cr16-action-text_under.png → pics/crystalsvg/cr16-action-format-text-underline.png View File


pics/crystalsvg/cr16-action-spellcheck.png → pics/crystalsvg/cr16-action-tools-check-spelling.png View File


pics/crystalsvg/cr22-action-centrejust.png → pics/crystalsvg/cr22-action-format-justify-center.png View File


pics/crystalsvg/cr22-action-leftjust.png → pics/crystalsvg/cr22-action-format-justify-left.png View File


pics/crystalsvg/cr22-action-rightjust.png → pics/crystalsvg/cr22-action-format-justify-right.png View File


pics/crystalsvg/cr22-action-text_bold.png → pics/crystalsvg/cr22-action-format-text-bold.png View File


pics/crystalsvg/cr22-action-text_left.png → pics/crystalsvg/cr22-action-format-text-direction-ltr.png View File


pics/crystalsvg/cr22-action-text_right.png → pics/crystalsvg/cr22-action-format-text-direction-rtl.png View File


pics/crystalsvg/cr22-action-text_italic.png → pics/crystalsvg/cr22-action-format-text-italic.png View File


pics/crystalsvg/cr22-action-text_strike.png → pics/crystalsvg/cr22-action-format-text-strikethrough.png View File


pics/crystalsvg/cr22-action-text_under.png → pics/crystalsvg/cr22-action-format-text-underline.png View File


pics/crystalsvg/cr22-action-spellcheck.png → pics/crystalsvg/cr22-action-tools-check-spelling.png View File


pics/crystalsvg/cr32-action-centrejust.png → pics/crystalsvg/cr32-action-format-justify-center.png View File


pics/crystalsvg/cr32-action-leftjust.png → pics/crystalsvg/cr32-action-format-justify-left.png View File


pics/crystalsvg/cr32-action-rightjust.png → pics/crystalsvg/cr32-action-format-justify-right.png View File


pics/crystalsvg/cr32-action-text_bold.png → pics/crystalsvg/cr32-action-format-text-bold.png View File


pics/crystalsvg/cr32-action-text_left.png → pics/crystalsvg/cr32-action-format-text-direction-ltr.png View File


pics/crystalsvg/cr32-action-text_right.png → pics/crystalsvg/cr32-action-format-text-direction-rtl.png View File


pics/crystalsvg/cr32-action-text_italic.png → pics/crystalsvg/cr32-action-format-text-italic.png View File


pics/crystalsvg/cr32-action-text_strike.png → pics/crystalsvg/cr32-action-format-text-strikethrough.png View File


pics/crystalsvg/cr32-action-text_under.png → pics/crystalsvg/cr32-action-format-text-underline.png View File


pics/crystalsvg/cr32-action-spellcheck.png → pics/crystalsvg/cr32-action-tools-check-spelling.png View File


+ 1
- 1
tdeparts/tests/plugin_spellcheck.cpp View File

@@ -12,7 +12,7 @@ PluginSpellCheck::PluginSpellCheck( TQObject* parent, const char* name,
12 12
     : Plugin( parent, name )
13 13
 {
14 14
     (void) new TDEAction( "&Select current line (plugin)", 0, this, TQT_SLOT(slotSpellCheck()),
15
-                        actionCollection(), "spellcheck" );
15
+                        actionCollection(), "tools-check-spelling" );
16 16
 }
17 17
 
18 18
 PluginSpellCheck::~PluginSpellCheck()

+ 1
- 1
tdeui/kstdaction_p.h View File

@@ -90,7 +90,7 @@ static const KStdActionInfo g_rgActionInfo[] =
90 90
 	{ AddBookmark,   TDEStdAccel::AddBookmark, "bookmark_add", I18N_NOOP("&Add Bookmark"), 0, "bookmark_add" },
91 91
 	{ EditBookmarks, TDEStdAccel::AccelNone, "bookmark_edit", I18N_NOOP("&Edit Bookmarks"), 0, "bookmark" },
92 92
 
93
-	{ Spelling,      TDEStdAccel::AccelNone, "tools_spelling", I18N_NOOP("&Spelling..."), 0, "spellcheck" },
93
+	{ Spelling,      TDEStdAccel::AccelNone, "tools_spelling", I18N_NOOP("&Spelling..."), 0, "tools-check-spelling" },
94 94
 
95 95
 	{ ShowMenubar,   TDEStdAccel::ShowMenubar, "options_show_menubar", I18N_NOOP("Show &Menubar"), 0, "showmenu" },
96 96
 	{ ShowToolbar,   TDEStdAccel::AccelNone, "options_show_toolbar", I18N_NOOP("Show &Toolbar"), 0, 0 },

+ 1
- 1
tdeui/ktextedit.cpp View File

@@ -228,7 +228,7 @@ TQPopupMenu *KTextEdit::createPopupMenu( const TQPoint &pos )
228 228
       menu->changeItem( id - IdClear, SmallIconSet("edit-clear"), menu->text( id - IdClear) );
229 229
 
230 230
         menu->insertSeparator();
231
-        id = menu->insertItem( SmallIconSet( "spellcheck" ), i18n( "Check Spelling..." ),
231
+        id = menu->insertItem( SmallIconSet( "tools-check-spelling" ), i18n( "Check Spelling..." ),
232 232
                                    this, TQT_SLOT( checkSpelling() ) );
233 233
 
234 234
         if( text().isEmpty() )

Loading…
Cancel
Save