From a4eabeb421eed7bfddcd0a383161155ee41e4eb6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 22 Oct 2014 01:27:30 -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 --- kbabel/catalogmanager/catalogmanager.cpp | 4 ++-- kbabel/catalogmanager/catalogmanagerview.cpp | 2 +- kbabel/kbabel/kbabelpref.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kbabel') diff --git a/kbabel/catalogmanager/catalogmanager.cpp b/kbabel/catalogmanager/catalogmanager.cpp index 44d44998..ceed6ce2 100644 --- a/kbabel/catalogmanager/catalogmanager.cpp +++ b/kbabel/catalogmanager/catalogmanager.cpp @@ -375,9 +375,9 @@ void CatalogManager::setupActions() TQT_TQOBJECT(_catalogManager), TQT_SLOT(mailMarkedFiles()), actionCollection(), "mail_file_marked"); action->setEnabled(false); - action = new TDEAction( i18n("&Pack"), "tar", CTRL+Key_B, + action = new TDEAction( i18n("&Pack"), "application-x-tar", CTRL+Key_B, TQT_TQOBJECT(_catalogManager), TQT_SLOT(packageFiles()), actionCollection(), "package_file"); - action = new TDEAction( i18n("Pack &Marked"), "tar", CTRL+ALT+Key_B, TQT_TQOBJECT(_catalogManager), TQT_SLOT(packageMarkedFiles()), actionCollection(), "package_file_marked"); + action = new TDEAction( i18n("Pack &Marked"), "application-x-tar", CTRL+ALT+Key_B, TQT_TQOBJECT(_catalogManager), TQT_SLOT(packageMarkedFiles()), actionCollection(), "package_file_marked"); action->setEnabled(false); actionMap["statistics_marked"] = NEEDS_DIR | NEEDS_MARK; diff --git a/kbabel/catalogmanager/catalogmanagerview.cpp b/kbabel/catalogmanager/catalogmanagerview.cpp index 23773e28..fcf9db41 100644 --- a/kbabel/catalogmanager/catalogmanagerview.cpp +++ b/kbabel/catalogmanager/catalogmanagerview.cpp @@ -2532,7 +2532,7 @@ void CatalogManagerView::contentsMouseMoveEvent(TQMouseEvent* event) uri.append(TQUriDrag::localFileToUri(item->potFile())); TQUriDrag* drag = new TQUriDrag(uri,this); - TQPixmap icon=TDEGlobal::iconLoader()->loadIcon("txt",TDEIcon::Desktop); + TQPixmap icon=TDEGlobal::iconLoader()->loadIcon(""text-plain",TDEIcon::Desktop); drag->setPixmap(icon,TQPoint(icon.width()/2,icon.height()/2)); drag->drag(); } diff --git a/kbabel/kbabel/kbabelpref.cpp b/kbabel/kbabel/kbabelpref.cpp index a3f3abb7..11c0b8ee 100644 --- a/kbabel/kbabel/kbabelpref.cpp +++ b/kbabel/kbabel/kbabelpref.cpp @@ -88,7 +88,7 @@ KBabelPreferences::KBabelPreferences(TQPtrList ml) addPage(new FontPreferences(0, "fonts") , i18n("name of page in preferences dialog icon list","Fonts") - , "font" + , "font-x-generic" , i18n("title of page in preferences dialog","Font Settings")); addPage(new ColorPreferences(0, "colors") -- cgit v1.2.1