[gnome-software/1296-calculate-app-space-usage-for-download-context-tile] gs-plugin-types: Introduce GS_PLUGIN_REFINE_FLAGS_REQUIRE_SIZE_DATA
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/1296-calculate-app-space-usage-for-download-context-tile] gs-plugin-types: Introduce GS_PLUGIN_REFINE_FLAGS_REQUIRE_SIZE_DATA
- Date: Wed, 28 Jul 2021 20:35:12 +0000 (UTC)
commit 40c168d4b6636cd8120dd50a1716d3216f69066f
Author: Milan Crha <mcrha redhat com>
Date: Wed Jul 28 19:41:20 2021 +0200
gs-plugin-types: Introduce GS_PLUGIN_REFINE_FLAGS_REQUIRE_SIZE_DATA
This will be used by the gs-details-page to get information
about on-disk sizes for the user and cache data. It's expected
to be an expensive operation, thus do not have it under
the GS_PLUGIN_REFINE_FLAGS_REQUIRE_SIZE.
lib/gs-plugin-types.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/lib/gs-plugin-types.h b/lib/gs-plugin-types.h
index 7365327f0..9ff9b9e8a 100644
--- a/lib/gs-plugin-types.h
+++ b/lib/gs-plugin-types.h
@@ -125,6 +125,7 @@ typedef enum {
* @GS_PLUGIN_REFINE_FLAGS_REQUIRE_DEVELOPER_NAME: Require developer name
* @GS_PLUGIN_REFINE_FLAGS_REQUIRE_KUDOS: Require kudos
* @GS_PLUGIN_REFINE_FLAGS_REQUIRE_CONTENT_RATING: Require content rating
+ * @GS_PLUGIN_REFINE_FLAGS_REQUIRE_SIZE_DATA: Require user and cache data sizes
* @GS_PLUGIN_REFINE_FLAGS_MASK: All flags (Since: 40)
*
* The refine flags.
@@ -143,7 +144,7 @@ typedef enum {
GS_PLUGIN_REFINE_FLAGS_REQUIRE_UPDATE_DETAILS = 1 << 9,
GS_PLUGIN_REFINE_FLAGS_REQUIRE_ORIGIN = 1 << 10,
GS_PLUGIN_REFINE_FLAGS_REQUIRE_RELATED = 1 << 11,
- /* 1 << 12 is currently unused; was previously REQUIRE_MENU_PATH */
+ GS_PLUGIN_REFINE_FLAGS_REQUIRE_SIZE_DATA = 1 << 12,
GS_PLUGIN_REFINE_FLAGS_REQUIRE_ADDONS = 1 << 13,
GS_PLUGIN_REFINE_FLAGS_ALLOW_PACKAGES = 1 << 14, /* TODO: move to request */
GS_PLUGIN_REFINE_FLAGS_REQUIRE_UPDATE_SEVERITY = 1 << 15,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]