[gnome-software/wip/hughsie/xdg-app] f
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/hughsie/xdg-app] f
- Date: Thu, 21 Jan 2016 09:40:20 +0000 (UTC)
commit 108691f2e909d6f87c29239f57e8cf053bfb85a2
Author: Richard Hughes <richard hughsie com>
Date: Thu Jan 21 09:19:09 2016 +0000
f
src/plugins/gs-plugin-xdg-app.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gs-plugin-xdg-app.c b/src/plugins/gs-plugin-xdg-app.c
index 60ecf0c..d52d317 100644
--- a/src/plugins/gs-plugin-xdg-app.c
+++ b/src/plugins/gs-plugin-xdg-app.c
@@ -179,12 +179,12 @@ gs_plugin_xdg_app_set_metadata_installed (GsApp *app, XdgAppInstalledRef *xref)
/* get the last time the app was updated */
metadata_fn = g_build_filename (xdg_app_installed_ref_get_deploy_dir (xref),
"..",
- "origin",
+ "active",
NULL);
file = g_file_new_for_path (metadata_fn);
info = g_file_query_info (file,
G_FILE_ATTRIBUTE_TIME_MODIFIED,
- G_FILE_QUERY_INFO_NONE,
+ G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
NULL, NULL);
if (info != NULL) {
mtime = g_file_info_get_attribute_uint64 (info, G_FILE_ATTRIBUTE_TIME_MODIFIED);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]