summaryrefslogtreecommitdiff
path: root/libappstream-builder/plugins/asb-plugin-appdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'libappstream-builder/plugins/asb-plugin-appdata.c')
-rw-r--r--libappstream-builder/plugins/asb-plugin-appdata.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-appdata.c b/libappstream-builder/plugins/asb-plugin-appdata.c
index 4bb910a..22d57fa 100644
--- a/libappstream-builder/plugins/asb-plugin-appdata.c
+++ b/libappstream-builder/plugins/asb-plugin-appdata.c
@@ -138,33 +138,14 @@ asb_plugin_process_filename (AsbPlugin *plugin,
/* fix up various components as required */
if (asb_context_get_flag (plugin->ctx, ASB_CONTEXT_FLAG_ADD_DEFAULT_ICONS)) {
- /* add icon for firmware */
- if (as_app_get_kind (AS_APP (app)) == AS_APP_KIND_FIRMWARE) {
- g_autoptr(AsIcon) icon = NULL;
- icon = as_icon_new ();
- as_icon_set_kind (icon, AS_ICON_KIND_STOCK);
- as_icon_set_name (icon, "application-x-executable");
- as_app_add_icon (AS_APP (app), icon);
- }
-
/* fix up input methods */
if (as_app_get_kind (AS_APP (app)) == AS_APP_KIND_INPUT_METHOD) {
- g_autoptr(AsIcon) icon = NULL;
- icon = as_icon_new ();
- as_icon_set_kind (icon, AS_ICON_KIND_STOCK);
- as_icon_set_name (icon, "system-run-symbolic");
- as_app_add_icon (AS_APP (app), icon);
as_app_add_category (AS_APP (app), "Addons");
as_app_add_category (AS_APP (app), "InputSources");
}
/* fix up codecs */
if (as_app_get_kind (AS_APP (app)) == AS_APP_KIND_CODEC) {
- g_autoptr(AsIcon) icon = NULL;
- icon = as_icon_new ();
- as_icon_set_kind (icon, AS_ICON_KIND_STOCK);
- as_icon_set_name (icon, "application-x-addon");
- as_app_add_icon (AS_APP (app), icon);
as_app_add_category (AS_APP (app), "Addons");
as_app_add_category (AS_APP (app), "Codecs");
}