Fix remaining issues from mimetype icon rename

pull/1/head
Timothy Pearson 10 years ago
parent da2a999dfb
commit cb74882cc4

@ -812,7 +812,7 @@ void KSquirrel::createActions()
pASlideShow = new TDEAction(i18n("Slideshow"), "folder_video", CTRL+TQt::Key_S, TQT_TQOBJECT(this), TQT_SLOT(slotSlideShowStart()), actionCollection(), "SQ Slideshow");
pASlideShowDialog = new TDEAction(i18n("Slideshow advanced"), 0, CTRL+ALT+TQt::Key_S, TQT_TQOBJECT(this), TQT_SLOT(slotSlideShowDialog()), actionCollection(), "SQ SlideShow Dialog");
pARename = new TDEAction(i18n("Rename"), "file_move", TQt::Key_F2, TQT_TQOBJECT(this), TQT_SLOT(slotRename()), actionCollection(), "SQ Rename");
pAPluginsInfo = new TDEAction(i18n("Codec information..."), "info", 0, TQT_TQOBJECT(this), TQT_SLOT(slotPluginsInfo()), actionCollection(), "SQ Plugins Info");
pAPluginsInfo = new TDEAction(i18n("Codec information..."), "application-vnd.tde.info", 0, TQT_TQOBJECT(this), TQT_SLOT(slotPluginsInfo()), actionCollection(), "SQ Plugins Info");
pAPluginsDel = new TDEAction(i18n("Codec manager..."), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(slotPluginsDel()), actionCollection(), "SQ Plugins Deleter");
pAGLInfo = new TDEAction(i18n("OpenGL information..."), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(slotGLInfo()), actionCollection(), "SQ OpenGL Info");

@ -61,7 +61,7 @@ TQPixmap SQ_IconLoader::loadIcon(const TQString& name, TDEIcon::Group group, int
else if(name == "edit" && size == 32)
p = pixmap_edit;
else
p = TDEGlobal::iconLoader()->loadIcon(""text-x-katefilelist", group, size);
p = TDEGlobal::iconLoader()->loadIcon("unknown", group, size);
}
return p;

@ -168,7 +168,7 @@ SQ_CategoriesBox::SQ_CategoriesBox(TQWidget *parent, const char *name) : TQVBox(
toolbar->insertButton("folder-new", 0, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotNewCategory()), true, i18n("New category"));
toolbar->insertButton("edittrash", 0, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotDeleteItem()), true, i18n("Delete"));
toolbar->insertButton("info", 0, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotItemProperties()), true, i18n("Properties"));
toolbar->insertButton("application-vnd.tde.info", 0, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotItemProperties()), true, i18n("Properties"));
toolbar->insertButton("bookmark_add", 0, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotDefaultCategories()), true, i18n("Create default categories"));
view->popupMenu()->reconnect(SQ_TreeViewMenu::New, TQT_TQOBJECT(this), TQT_SLOT(slotNewCategory()));

@ -508,7 +508,7 @@ void SQ_CategoryBrowserMenu::initIconMap()
_icons = new TQMap<TQString, TQPixmap>;
_icons->insert("folder", SmallIcon("folder"));
_icons->insert("unknown", SmallIcon("text-x-katefilelist"));
_icons->insert("unknown", SmallIcon("unknown"));
_icons->insert("folder_open", SmallIcon("folder_open"));
_icons->insert("kdisknav", SmallIcon("kdisknav"));
_icons->insert("kfm", SmallIcon("kfm"));

@ -61,7 +61,7 @@ TQPixmap SQ_IconLoader::loadIcon(const TQString& name, TDEIcon::Group group, int
else if(name == "edit" && size == 32)
p = pixmap_edit;
else
p = TDEGlobal::iconLoader()->loadIcon(""text-x-katefilelist", group, size);
p = TDEGlobal::iconLoader()->loadIcon("unknown", group, size);
}
return p;

Loading…
Cancel
Save