summaryrefslogtreecommitdiffstats
path: root/src/ktechlab.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-22 01:27:26 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-22 01:27:26 -0500
commit4dbdc7d10068bc8b2640966ffbec2b29b67765b4 (patch)
tree85c0071287abf7a84f112988b47968dc31243061 /src/ktechlab.cpp
parent48e73d9f23c8caab531719b19e6cf15fecd159de (diff)
downloadktechlab-4dbdc7d10068bc8b2640966ffbec2b29b67765b4.tar.gz
ktechlab-4dbdc7d10068bc8b2640966ffbec2b29b67765b4.zip
Bring most mimetypes in line with XDG specifications. The following are not fully verified in source as of this commit due to ubiquity: html, empty, info, make, man, misc, source, unknown
Diffstat (limited to 'src/ktechlab.cpp')
-rw-r--r--src/ktechlab.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ktechlab.cpp b/src/ktechlab.cpp
index 0149939..2291480 100644
--- a/src/ktechlab.cpp
+++ b/src/ktechlab.cpp
@@ -209,7 +209,7 @@ void KTechlab::setupToolDocks()
tv = createToolView( LanguageManager::toolViewIdentifier(),
KMultiTabBar::Bottom,
- loader->loadIcon( "log", TDEIcon::Small ),
+ loader->loadIcon( ""text-x-log", TDEIcon::Small ),
i18n("Messages") );
LanguageManager::self( tv, this );
@@ -431,8 +431,8 @@ void KTechlab::setupActions()
//BEGIN New file popup
TDEToolBarPopupAction *p = new TDEToolBarPopupAction( i18n("&New"), "document-new", TDEStdAccel::shortcut(TDEStdAccel::New), TQT_TQOBJECT(this), TQT_SLOT(slotFileNew()), ac, "newfile_popup" );
p->popupMenu()->insertTitle( i18n("New File") );
- (new TDEAction( i18n("Assembly"), "source", 0, TQT_TQOBJECT(this), TQT_SLOT(slotFileNewAssembly()), ac, "newfile_asm" ))->plug( p->popupMenu() );
- (new TDEAction( i18n("C source"), "source_c", 0, TQT_TQOBJECT(this), TQT_SLOT(slotFileNewC()), ac, "newfile_c" ))->plug( p->popupMenu() );
+ (new TDEAction( i18n("Assembly"), "text-x-src", 0, TQT_TQOBJECT(this), TQT_SLOT(slotFileNewAssembly()), ac, "newfile_asm" ))->plug( p->popupMenu() );
+ (new TDEAction( i18n("C source"), "text-x-csrc", 0, TQT_TQOBJECT(this), TQT_SLOT(slotFileNewC()), ac, "newfile_c" ))->plug( p->popupMenu() );
(new TDEAction( i18n("Circuit"), "ktechlab_circuit", 0, TQT_TQOBJECT(this), TQT_SLOT(slotFileNewCircuit()), ac, "newfile_circuit" ))->plug( p->popupMenu() );
(new TDEAction( i18n("FlowCode"), "ktechlab_flowcode", 0, TQT_TQOBJECT(this), TQT_SLOT(slotFileNewFlowCode()), ac, "newfile_flowcode" ))->plug( p->popupMenu() );
#ifdef MECHANICS
@@ -1035,7 +1035,7 @@ void KTechlab::slotDocModifiedChanged()
break;
case Document::dt_text:
- iconName = "txt";
+ iconName = "text-plain";
break;
case Document::dt_pinMapEditor: