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

pull/16/head
Timothy Pearson 10 years ago
parent ffb86e490f
commit 96608b99bf

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

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

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

Before

Width:  |  Height:  |  Size: 734 B

After

Width:  |  Height:  |  Size: 734 B

Before

Width:  |  Height:  |  Size: 660 B

After

Width:  |  Height:  |  Size: 660 B

Before

Width:  |  Height:  |  Size: 725 B

After

Width:  |  Height:  |  Size: 725 B

Before

Width:  |  Height:  |  Size: 554 B

After

Width:  |  Height:  |  Size: 554 B

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 157 B

Before

Width:  |  Height:  |  Size: 149 B

After

Width:  |  Height:  |  Size: 149 B

Before

Width:  |  Height:  |  Size: 150 B

After

Width:  |  Height:  |  Size: 150 B

Before

Width:  |  Height:  |  Size: 997 B

After

Width:  |  Height:  |  Size: 997 B

Before

Width:  |  Height:  |  Size: 876 B

After

Width:  |  Height:  |  Size: 876 B

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Before

Width:  |  Height:  |  Size: 973 B

After

Width:  |  Height:  |  Size: 973 B

Before

Width:  |  Height:  |  Size: 776 B

After

Width:  |  Height:  |  Size: 776 B

Before

Width:  |  Height:  |  Size: 169 B

After

Width:  |  Height:  |  Size: 169 B

Before

Width:  |  Height:  |  Size: 414 B

After

Width:  |  Height:  |  Size: 414 B

Before

Width:  |  Height:  |  Size: 409 B

After

Width:  |  Height:  |  Size: 409 B

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

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

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

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

Loading…
Cancel
Save