[gnome-software/1754-improve-the-sources-dropdown: 7/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: 7/10] packagekit: Set app packaging information for origin popover rows
- Date: Thu, 4 Aug 2022 14:55:39 +0000 (UTC)
commit ce1bdd16029f352220a11a18036584d78947d302
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]