From 4dbdc7d10068bc8b2640966ffbec2b29b67765b4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 22 Oct 2014 01:27:26 -0500 Subject: 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 --- src/gui/newfiledlg.cpp | 4 ++-- src/gui/settingsdlg.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui') 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 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()) ); -- cgit v1.2.1