[gnome-software/mwleeds/hardcoded-pwa-list: 1/14] fixup! Revive webapp support
- From: Phaedrus Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/mwleeds/hardcoded-pwa-list: 1/14] fixup! Revive webapp support
- Date: Fri, 25 Mar 2022 16:56:12 +0000 (UTC)
commit feb12241f2f82ddb87766d86bec5679db6e80942
Author: Phaedrus Leeds <mwleeds protonmail com>
Date: Fri Mar 25 09:39:50 2022 -0700
fixup! Revive webapp support
plugins/epiphany/gs-plugin-epiphany.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/plugins/epiphany/gs-plugin-epiphany.c b/plugins/epiphany/gs-plugin-epiphany.c
index da443141f..74c8557d1 100644
--- a/plugins/epiphany/gs-plugin-epiphany.c
+++ b/plugins/epiphany/gs-plugin-epiphany.c
@@ -499,13 +499,11 @@ list_installed_apps_thread_cb (GTask *task,
g_assert (desktop_path);
desktop_file = g_file_new_for_path (desktop_path);
- /* FIXME: this should use TIME_CREATED but it does not seem to
- * be working (copied from Epiphany) */
file_info = g_file_query_info (desktop_file,
- G_FILE_ATTRIBUTE_TIME_MODIFIED ","
G_FILE_ATTRIBUTE_STANDARD_SIZE,
+ G_FILE_ATTRIBUTE_TIME_CREATED ","
G_FILE_ATTRIBUTE_STANDARD_SIZE,
0, NULL, NULL);
if (file_info) {
- install_date = g_file_info_get_attribute_uint64 (file_info,
G_FILE_ATTRIBUTE_TIME_MODIFIED);
+ install_date = g_file_info_get_attribute_uint64 (file_info,
G_FILE_ATTRIBUTE_TIME_CREATED);
desktop_size = g_file_info_get_size (file_info);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]