[gnome-software/1754-improve-the-sources-dropdown: 8/10] packagekit: Set app packaging information for origin popover rows
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/1754-improve-the-sources-dropdown: 8/10] packagekit: Set app packaging information for origin popover rows
- Date: Wed, 3 Aug 2022 14:59:33 +0000 (UTC)
commit 872a92fa3431b0cc590cc3473dbe620147fcd9ea
Author: Milan Crha <mcrha redhat com>
Date: Wed Aug 3 16:06:17 2022 +0200
packagekit: Set app packaging information for origin popover rows
plugins/packagekit/packagekit-common.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/plugins/packagekit/packagekit-common.c b/plugins/packagekit/packagekit-common.c
index c4cbde895..7f93551fa 100644
--- a/plugins/packagekit/packagekit-common.c
+++ b/plugins/packagekit/packagekit-common.c
@@ -577,5 +577,10 @@ gs_plugin_packagekit_set_packaging_format (GsPlugin *plugin, GsApp *app)
} else if (gs_plugin_check_distro_id (plugin, "debian") ||
gs_plugin_check_distro_id (plugin, "ubuntu")) {
gs_app_set_metadata (app, "GnomeSoftware::PackagingFormat", "deb");
+ } else {
+ return;
}
+
+ gs_app_set_metadata (app, "GnomeSoftware::PackagingBaseCssColor", "error_bg_color");
+ gs_app_set_metadata (app, "GnomeSoftware::PackagingIcon", "package-x-generic-symbolic");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]