summaryrefslogtreecommitdiffstats
path: root/src/gui
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/gui
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/gui')
-rw-r--r--src/gui/newfiledlg.cpp4
-rw-r--r--src/gui/settingsdlg.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/newfiledlg.cpp b/src/gui/newfiledlg.cpp
index fd929e6..50af44b 100644
--- a/src/gui/newfiledlg.cpp
+++ b/src/gui/newfiledlg.cpp
@@ -47,8 +47,8 @@ NewFileDlg::NewFileDlg( TQWidget *parent )
TQValueList<TQIconViewItem*> items;
- items << new TQIconViewItem(m_pNewFileWidget->typeIconView,"Assembly Code (.asm)", loader->loadIcon( "source", TDEIcon::NoGroup, TDEIcon::SizeHuge ) );
- items << new TQIconViewItem(m_pNewFileWidget->typeIconView,"C (.c)", loader->loadIcon( "source_c", TDEIcon::NoGroup, TDEIcon::SizeHuge ) );
+ items << new TQIconViewItem(m_pNewFileWidget->typeIconView,"Assembly Code (.asm)", loader->loadIcon( ""text-x-src", TDEIcon::NoGroup, TDEIcon::SizeHuge ) );
+ items << new TQIconViewItem(m_pNewFileWidget->typeIconView,"C (.c)", loader->loadIcon( ""text-x-csrc", TDEIcon::NoGroup, TDEIcon::SizeHuge ) );
items << new TQIconViewItem(m_pNewFileWidget->typeIconView,"Circuit (.circuit)", loader->loadIcon( "ktechlab_circuit", TDEIcon::NoGroup, TDEIcon::SizeHuge ) );
items << new TQIconViewItem(m_pNewFileWidget->typeIconView,"FlowCode (.flowcode)", loader->loadIcon( "ktechlab_flowcode", TDEIcon::NoGroup, TDEIcon::SizeHuge ) );
#ifdef MECHANICS
diff --git a/src/gui/settingsdlg.cpp b/src/gui/settingsdlg.cpp
index e8e481d..6976f00 100644
--- a/src/gui/settingsdlg.cpp
+++ b/src/gui/settingsdlg.cpp
@@ -60,7 +60,7 @@ SettingsDlg::SettingsDlg( TQWidget *parent, const char *name, TDEConfigSkeleton
addPage( m_asmFormattingWidget, i18n("Formatter"), "indent_asm", i18n("Assembly Formatter") );
addPage( m_logicWidget, i18n("Logic"), "logic_or", i18n("Electronic Logic Values") );
addPage( m_gpasmSettingsWidget, "Gpasm", "convert_to_hex", "gpasm" );
- addPage( m_sdccOptionsWidget, "SDCC", "source_c", "SDCC" );
+ addPage( m_sdccOptionsWidget, "SDCC", "text-x-csrc", "SDCC" );
connect( m_generalOptionsWidget->refreshRateSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotUpdateRefreshRateLabel(int)) );
connect( m_picProgrammerConfigWidget->kcfg_PicProgrammerProgram, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(slotUpdatePicProgrammerDescription()) );