[gnome-software] plugins: If we read the .desktop file, the application must be installed
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] plugins: If we read the .desktop file, the application must be installed
- Date: Thu, 7 Mar 2013 19:46:59 +0000 (UTC)
commit 99b9f81aec2ddac4a2903eecc92930f21e7e7b10
Author: Richard Hughes <richard hughsie com>
Date: Thu Mar 7 19:31:12 2013 +0000
plugins: If we read the .desktop file, the application must be installed
src/plugins/gs-plugin-datadir-apps.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-datadir-apps.c b/src/plugins/gs-plugin-datadir-apps.c
index 52892d5..3ed976d 100644
--- a/src/plugins/gs-plugin-datadir-apps.c
+++ b/src/plugins/gs-plugin-datadir-apps.c
@@ -238,6 +238,9 @@ gs_plugin_refine (GsPlugin *plugin, GList *list, GError **error)
error);
if (!ret)
goto out;
+
+ /* we know it's installed as we read the desktop file */
+ gs_app_set_state (app, GS_APP_STATE_INSTALLED);
}
out:
return ret;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]